Skip to content

Commit

Permalink
cd: Add deployment to rws-dev on push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
ylobankov committed Mar 1, 2024
1 parent 69105a9 commit 63bbfe2
Show file tree
Hide file tree
Showing 2 changed files with 4 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added

- Added sending notification to VK Teams on deployment failure.
- Added deployment to rws-dev on push to the `master` branch.

### Changed

Expand Down

0 comments on commit 63bbfe2

Please sign in to comment.