diff --git a/circle.yml b/circle.yml index e9472b4..0478387 100644 --- a/circle.yml +++ b/circle.yml @@ -1,16 +1,17 @@ test: override: - - ls - post: - - npm run build - - git add build/ -f - - git config user.name "circleci" - - git config user.email "circleci@virtual-cards-server.com" - - git add -A - - git commit -m "build $(git rev-parse HEAD)" + - npm test deployment: - staging: + production: branch: master commands: - - git push -f git@heroku.com:virtual-cards-server.git master:master \ No newline at end of file + - git remote add dokku dokku@138.197.54.233:api + - git push dokku master + +deployment: + staging: + branch: sandbox + commands: + - git remote add dokku dokku@138.197.54.233:sandbox.api.wwmoderator.com + - git push dokku master \ No newline at end of file