Skip to content

Commit

Permalink
cd: deploy app to rws-dev on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
ylobankov committed Mar 4, 2024
1 parent bf426d9 commit 9fc0807
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Deploy to Dokku

on:
push:
branches:
- 'master'
tags:
- '*'
workflow_dispatch:
Expand All @@ -18,7 +20,7 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
dokku-host: ${{ secrets.DOKKU_HOST }}
dokku-app-name: rws
dokku-app-name: rws${{ !startsWith(github.ref, 'refs/tags/') && '-dev' }}
git-push-flags: '--force'
- name: Send notification on failure
if: failure()
Expand Down

0 comments on commit 9fc0807

Please sign in to comment.