Repository navigation
dev2/deploy-poll.sh: deploy private-repo sites on merge without Actions - #194
Merged
Merged
Conversation
…b Actions Private profullstack repos cannot start Actions jobs while the org bill is unpaid, and the generated Deploy to dev2 workflow is an Action, so merges to those 24 sites stopped deploying. The workflow only ran deploy-app.sh <sha> over ssh; this does the same from dev2 on a 2-minute cron: ls-remote the default branch with the site's deploy key, deploy when it differs from .deploy-state, through deploy-gate. A failed sha waits for a newer commit. Public repos are skipped since their Actions still run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan33 finding(s) HIGH/CRITICAL: 7 | MEDIUM: 12 | LOW: 14
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony: "disable it we just need auto deploy to work not builds/tests on private repos".
GitHub won't start Actions jobs on private repos (org billing), and
Deploy to dev2is an Action, so the 24 private dev2 sites stopped deploying on merge. This replaces it from the box itself: a 2-minute cron thatgit ls-remotes each private site's default branch with its deploy key and runsdeploy-app.sh <sha>when it differs from.deploy-state, through deploy-gate (3 at a time). It won't retry a failed sha until a newer commit lands. Public repos are skipped.Tested on dev2:
--statusmatched exactly the 24 sites that have a Deploy-to-dev2 workflow; 22 current, 2 behind (ch4nnels, weedforcrypto: merges the block never deployed). shellcheck clean.🤖 Generated with Claude Code