add watchtower deploy step and nginx proxy for update endpoint
Build and Push Docker Image / build (push) Failing after 6s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 18:09:05 -04:00
parent 41b3190d3d
commit 482dcec7f2
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -22,3 +22,8 @@ jobs:
context: .
push: true
tags: git.timothykim.net/timothykim/static:latest
- name: Deploy
run: |
curl -sf -H "Authorization: Bearer ${{ secrets.WATCHTOWER_TOKEN }}" \
https://www.timothykim.net/watchtower/v1/update
+4
View File
@@ -8,6 +8,10 @@ server {
try_files $uri $uri/ /index.html;
}
location /watchtower/ {
proxy_pass http://watchtower:8080/;
}
# Cache static assets aggressively
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff2)$ {
expires 1y;