1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Compare commits

...

10 Commits

Author SHA1 Message Date
918b8de27d
Update main.yml 2021-12-16 13:27:39 -06:00
d9f3ea5944
Update main.yml 2021-12-16 13:22:19 -06:00
e23f30972c
Update main.yml 2021-12-16 13:17:07 -06:00
98cf3d81a7
Update main.yml 2021-12-16 13:12:39 -06:00
a34a970d06
Update main.yml 2021-12-16 13:11:18 -06:00
a7f6d087bf
Update main.yml 2021-12-16 13:10:50 -06:00
de78eb3926
Update main.yml 2021-12-16 10:10:44 -06:00
acc96c72a5
Add SSH deploy key 2021-12-16 09:39:57 -06:00
967b9176c7
Fix remote add 2021-12-16 09:00:48 -06:00
0a5b96e552
Add deploy action 2021-12-16 08:59:43 -06:00

27
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Deploy
on:
push:
branches: [ main ]
# pull_request:
# branches: [ main ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment: Dokku Deploy
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- 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 }}