Hello, I need simple continuous deployment, I have created in my github repository two files:
circle.yml
deployment:
production:
branch: master
commands:
- ./deploy_prod.sh
test:
override:
- echo ‘no tests, just say us Okay!’
And deploy_prod.sh:
#!/bin/bash
ssh root@...
echo ‘1. Updating sources’
cd /data/testapp/current/
git checkout --force master
git pull origin master
echo “2. Restart puma”
sudo sh /data/testapp/puma_stop.sh
sudo sh /data/testapp/puma_start.sh
echo ‘Done!’
But I got error:
Action failed: Configure the build
What I do wrong? Thanks in advice.