Skip to content

Instantly share code, notes, and snippets.

@limistah
Last active August 6, 2019 05:50
Show Gist options
  • Save limistah/634c885c98f495e8e26ca7f8023f3fc9 to your computer and use it in GitHub Desktop.
Save limistah/634c885c98f495e8e26ca7f8023f3fc9 to your computer and use it in GitHub Desktop.
version: 2
jobs:
staging:
docker:
- image: circleci/node:10
steps:
- run:
name: Deploy API
command: ssh -o "StrictHostKeyChecking no" [email protected] "cd ~/app; git pull; yarn install --production; sudo systemctl restart dkapi"
workflows:
version: 2
staging:
jobs:
- staging:
filters:
branches:
only: develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment