From b996ac22321d82313caba270f311ea9d5f7dfd34 Mon Sep 17 00:00:00 2001 From: luaneko Date: Tue, 3 Dec 2024 18:08:24 +1100 Subject: [PATCH] Add gitea workflow --- .gitea/workflows/push.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/push.yaml 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 .