fix deploy workflow: handle slinkity exit code bug

Slinkity exits with code 1 due to a known rename race condition, even
though the build output is generated correctly. Work around it by
verifying _site/index.html exists after the build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Matt Hill
2026-02-19 09:17:56 -07:00
parent 34d97f372a
commit 303ba2ab22

View File

@@ -27,7 +27,9 @@ jobs:
run: npm ci
- name: Build site
run: npm run build
run: |
npm run build || true
test -f _site/index.html
- name: Configure SSH
run: |