mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Compare commits
2 Commits
918b8de27d
...
5c6d01d82a
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c6d01d82a | |||
| 93f652a21c |
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
# branches: [ main ]
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@ -15,13 +15,13 @@ jobs:
|
||||
environment: Dokku Deploy
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: webfactory/ssh-agent@v0.5.4
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Run a multi-line script
|
||||
run: |
|
||||
git remote add dokku dokku@dokku.danbee.in:me
|
||||
git push dokku
|
||||
- name: Push to dokku
|
||||
uses: dokku/github-action@master
|
||||
with:
|
||||
git_remote_url: 'ssh://dokku@dokku.danbee.in:22/me'
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
|
||||
1
.tool-versions
Normal file
1
.tool-versions
Normal file
@ -0,0 +1 @@
|
||||
hugo 0.90.1
|
||||
Loading…
Reference in New Issue
Block a user