fix: rename workflow to Update Website and guard verify step (#282) #283

Merged
guettlibot merged 1 commits from issue-282-fix into main 2026-05-27 18:01:58 +00:00
guettlibot commented 2026-05-27 07:12:43 +00:00 (Migrated from codeberg.org)

Summary

  • Renames the website.yml workflow from "Deploy Website" to "Update Website" (and matching job/step names)
  • Adds if: ${{ secrets.SSH_PRIVATE_KEY != '' }} to the Verify Website step, mirroring the guard already on the Build & Update Website step

Fix for run 846

The CI run at #846/jobs/0/attempt/1 failed because Verify Website ran unconditionally even when the deploy step was skipped (no SSH_PRIVATE_KEY secret). The verify script then checked the live website for the current commit hash, found an older version, and failed after 60s. Adding the same if: guard ensures the verify step is only attempted when a deploy actually happened.

Test plan

  • Workflow name shows "Update Website" in Codeberg Actions UI
  • When SSH_PRIVATE_KEY is absent, both the deploy and verify steps are skipped (no false failure)
  • When SSH_PRIVATE_KEY is present, both steps run as before
## Summary - Renames the `website.yml` workflow from "Deploy Website" to "Update Website" (and matching job/step names) - Adds `if: ${{ secrets.SSH_PRIVATE_KEY != '' }}` to the `Verify Website` step, mirroring the guard already on the `Build & Update Website` step ## Fix for run 846 The CI run at [#846/jobs/0/attempt/1](https://codeberg.org/guettli/sharedinbox/actions/runs/846/jobs/0/attempt/1) failed because `Verify Website` ran unconditionally even when the deploy step was skipped (no `SSH_PRIVATE_KEY` secret). The verify script then checked the live website for the current commit hash, found an older version, and failed after 60s. Adding the same `if:` guard ensures the verify step is only attempted when a deploy actually happened. ## Test plan - [ ] Workflow name shows "Update Website" in Codeberg Actions UI - [ ] When `SSH_PRIVATE_KEY` is absent, both the deploy and verify steps are skipped (no false failure) - [ ] When `SSH_PRIVATE_KEY` is present, both steps run as before
Sign in to join this conversation.