debug: simplify main.yml for actions
Some checks failed
Deploy to discoursio-api / deploy (push) Failing after 58s
Some checks failed
Deploy to discoursio-api / deploy (push) Failing after 58s
This commit is contained in:
parent
a8018a0b2f
commit
86111bc9f5
|
@ -1,4 +1,4 @@
|
||||||
name: 'Deploy to discoursio-api'
|
name: 'Deploy to discoursio-api'
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -13,11 +13,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Push to discoursio-api
|
- name: Get Repo Name
|
||||||
|
id: repo_name
|
||||||
|
run: echo "::set-output name=repo::$(echo ${GITHUB_REPOSITORY##*/})"
|
||||||
|
|
||||||
|
- name: Get Branch Name
|
||||||
|
id: branch_name
|
||||||
|
run: echo "::set-output name=branch::$(echo ${GITHUB_REF##*/})"
|
||||||
|
|
||||||
|
- name: Push to dokku
|
||||||
uses: dokku/github-action@master
|
uses: dokku/github-action@master
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
|
branch: 'main'
|
||||||
ssh-host: staging.discours.io
|
git_remote_url: 'ssh://dokku@staging.discours.io:22/discoursio-api'
|
||||||
ssh-user: dokku
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
app-name: discoursio-api
|
git_push_flags: '--force'
|
||||||
git-remote-url: ssh://dokku@staging.discours.io:22/discoursio-api
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user