this is test branch for pushing dev branch to staging server
All checks were successful
Deploy on push / deploy (push) Successful in 9s

This commit is contained in:
Stepan Vladovskiy 2025-05-21 14:35:04 -03:00
parent a6b3b21894
commit b9654b01fb

View File

@ -29,7 +29,16 @@ jobs:
if: github.ref == 'refs/heads/dev'
uses: dokku/github-action@master
with:
branch: 'dev'
branch: 'main'
force: true
git_remote_url: 'ssh://dokku@v2.discours.io:22/core'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Push to dokku for staging branch
if: github.ref == 'refs/heads/dev-to-staging'
uses: dokku/github-action@master
with:
branch: 'main'
git_remote_url: 'ssh://dokku@staging.discours.io:22/core'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
git_push_flags: '--force'