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
acc96c72a5
commit
93f652a21c
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
# branches: [ main ]
|
# branches: [ main ]
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -15,13 +15,13 @@ jobs:
|
|||||||
environment: Dokku Deploy
|
environment: Dokku Deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
- uses: webfactory/ssh-agent@v0.5.4
|
with:
|
||||||
with:
|
fetch-depth: 0
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
- name: Run a multi-line script
|
- name: Push to dokku
|
||||||
run: |
|
uses: dokku/github-action@master
|
||||||
git remote add dokku dokku@dokku.danbee.in:me
|
with:
|
||||||
git push dokku
|
git_remote_url: 'ssh://dokku@dokku.danbee.in:22/me'
|
||||||
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user