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 @@