Skip to content

Remove conditional skip from production deploy workflow#75

Merged
pablo-mayrgundter merged 1 commit into
mainfrom
claude/debug-publishing-automation-xfi48
May 19, 2026
Merged

Remove conditional skip from production deploy workflow#75
pablo-mayrgundter merged 1 commit into
mainfrom
claude/debug-publishing-automation-xfi48

Conversation

@pablo-mayrgundter

Copy link
Copy Markdown
Collaborator

Summary

Removes the conditional check that was silently skipping the production deployment workflow when the deploy key secret was not configured. This allows the workflow to proceed regardless of whether the deployment credentials have been set up.

Changes

  • Removed the if condition that checked for secrets.CELESTIARY_GITHUB_IO_DEPLOY_KEY before running the deploy job
  • The workflow will now attempt to run the deployment steps without this guard clause

Notes

This change means the workflow will no longer silently skip on first-time setup when the deploy key hasn't been configured. Subsequent steps in the workflow will need to handle missing credentials appropriately, or the deploy key should be configured before this workflow is triggered.

https://claude.ai/code/session_01KJ3SXjNcUjMC8atyxnWfDd

The `if: secrets.X != ''` job-level conditional in deploy-prod.yml was
rejected by GitHub Actions at parse time ("Unrecognized named-value:
'secrets'"), so every run since the workflow landed failed before
reaching any step.  The `secrets` context is only available inside
steps (`steps[*].if`, `steps[*].env`, etc.), not at the job-level
`if:`.

The gate was intended for first-time setup; setup is now complete, so
the simplest fix is to remove it.  If the key is rotated/missing, the
deploy step will fail loudly on the SSH push, which is the right
behavior.
@pablo-mayrgundter pablo-mayrgundter merged commit 3a0818d into main May 19, 2026
2 of 3 checks passed
@pablo-mayrgundter pablo-mayrgundter deleted the claude/debug-publishing-automation-xfi48 branch May 19, 2026 21:20
@github-actions

github-actions Bot commented May 19, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-05-19 21:20 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants