This commit is contained in:
parent
f4b3e98e23
commit
b996ac2232
19
.gitea/workflows/push.yaml
Normal file
19
.gitea/workflows/push.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Deploy website
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: luare
|
||||
steps:
|
||||
- name: Deploy to caddy
|
||||
run: |
|
||||
eval "$(ssh-agent -s)"
|
||||
trap 'eval $(ssh-agent -k)' EXIT
|
||||
ssh-add - <<< "${{ secrets.SSH_KEY }}"
|
||||
|
||||
id
|
||||
ls -lah .
|
Loading…
Reference in New Issue
Block a user