Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -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
- 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