Simple continuous deployementnt: Action failed: Configure the build

circle.yml

#1

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.


#2

You must have some lint errors in your circle.yml file.
test it at http://yaml-online-parser.appspot.com/


#3

I’m sorry, but can’t find errors :frowning:


#4

Problem solved. Thanks.


#5