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 3, 2024
1 parent 6d5b2fd commit 9b6d0b3
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 9b6d0b3

Please sign in to comment.