Skip to content

Deploy

Deploy #268

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: ["Tests"]
branches: [master]
types:
- completed
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy to Heroku
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{ secrets.HEROKU_API_KEY }}
heroku_app_name: "start-makeitreal"
heroku_email: "[email protected]"
- name: Deploy to Digital Ocean 2
uses: idoberko2/dokku-deploy-github-action@v1
with:
ssh-private-key: ${{ secrets.DOKKU_SSH_PK }}
dokku-host: '137.184.202.235'
app-name: 'start'
- run: sudo git remote rm deploy
- name: Deploy to Digital Ocean 0
uses: idoberko2/dokku-deploy-github-action@v1
with:
ssh-private-key: ${{ secrets.DOKKU_SSH_PK }}
dokku-host: '165.227.213.207'
app-name: 'start'