mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Update main.yml
This commit is contained in:
parent
98cf3d81a7
commit
e23f30972c
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -8,11 +8,6 @@ on:
|
|||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
|
||||||
DOKKU_HOST: 'dokku.danbee.in'
|
|
||||||
DOKKU_APP_NAME: 'me'
|
|
||||||
DOKKU_REMOTE_BRANCH: 'main'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,10 +16,8 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy
|
- name: Push to dokku
|
||||||
uses: woudsma/dokku-deploy-github-action@v1
|
uses: dokku/github-action@master
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
git_remote_url: 'ssh://dokku@dokku.danbee.in:22/me'
|
||||||
dokku-host: ${{ env.DOKKU_HOST }}
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
app-name: ${{ env.DOKKU_APP_NAME }}
|
|
||||||
app-remote-branch: ${{ env.DOKKU_REMOTE_BRANCH }}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user