diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml new file mode 100644 index 0000000..2a4b7f7 --- /dev/null +++ b/.gitea/workflows/push.yaml @@ -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 .