this is test branch for pushing dev branch to staging server
All checks were successful
Deploy on push / deploy (push) Successful in 9s
All checks were successful
Deploy on push / deploy (push) Successful in 9s
This commit is contained in:
parent
a6b3b21894
commit
b9654b01fb
|
@ -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'
|
Loading…
Reference in New Issue
Block a user