From 2bc40aa6904279d2850ece8834112e62a39961a8 Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Thu, 12 Mar 2026 09:38:56 -0400 Subject: [PATCH] Switch deploy from watchtower to SSH --- .gitea/workflows/build.yml | 8 ++++---- static/index.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1463a46..0380e1c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: Deploy run: | - echo "Attempting to reach watchtower endpoint..." - curl -v -w "\nHTTP_CODE:%{http_code}\n" \ - -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \ - https://www.timothykim.net/watchtower/v1/update + mkdir -p ~/.ssh + echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key + chmod 600 ~/.ssh/deploy_key + ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@timothykim.net diff --git a/static/index.html b/static/index.html index cb5f9ec..9adfd94 100644 --- a/static/index.html +++ b/static/index.html @@ -5,6 +5,6 @@

Hello, World!

- test 4 + test 5