parent
79d2d52fc0
commit
fb65fcbad5
|
@ -15,7 +15,15 @@ jobs:
|
||||||
id: branch_name
|
id: branch_name
|
||||||
run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})"
|
run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})"
|
||||||
|
|
||||||
- name: Push to dokku
|
- name: Push to staging
|
||||||
|
if: steps.branch_name.outputs.branch == 'discours'
|
||||||
|
uses: dokku/github-action@master
|
||||||
|
with:
|
||||||
|
branch: 'main'
|
||||||
|
git_remote_url: 'ssh://dokku@staging.discours.io:22/authorizer'
|
||||||
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
- name: Push to v2
|
||||||
if: steps.branch_name.outputs.branch == 'discours'
|
if: steps.branch_name.outputs.branch == 'discours'
|
||||||
uses: dokku/github-action@master
|
uses: dokku/github-action@master
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user