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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
website.ymlworkflow from "Deploy Website" to "Update Website" (and matching job/step names)if: ${{ secrets.SSH_PRIVATE_KEY != '' }}to theVerify Websitestep, mirroring the guard already on theBuild & Update WebsitestepFix for run 846
The CI run at #846/jobs/0/attempt/1 failed because
Verify Websiteran unconditionally even when the deploy step was skipped (noSSH_PRIVATE_KEYsecret). The verify script then checked the live website for the current commit hash, found an older version, and failed after 60s. Adding the sameif:guard ensures the verify step is only attempted when a deploy actually happened.Test plan
SSH_PRIVATE_KEYis absent, both the deploy and verify steps are skipped (no false failure)SSH_PRIVATE_KEYis present, both steps run as before