CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
deploy.yml
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| e1309d5 | 1 | name: Deploy gluecron to itself |
| f2c00b4 | 2 | # BLOCK W — Self-host. When Gluecron.com receives a push to main, the |
| 3 | # post-receive hook in src/hooks/post-receive.ts forks scripts/self-deploy.sh | |
| 4 | # directly. This workflow file remains as an OPTIONAL alternative path for | |
| 5 | # operators who prefer the workflow runner over the post-receive hook, or | |
| 6 | # as a manual dispatch escape hatch. | |
| e1309d5 | 7 | |
| 8 | on: | |
| 9 | push: | |
| 10 | branches: [main] | |
| f2c00b4 | 11 | workflow_dispatch: {} |
| e1309d5 | 12 | |
| 13 | jobs: | |
| 14 | deploy: | |
| 15 | runs-on: self | |
| 16 | steps: | |
| f2c00b4 | 17 | - name: Run self-deploy.sh inline |
| e1309d5 | 18 | run: | |
| f2c00b4 | 19 | if [ ! -x /opt/gluecron/scripts/self-deploy.sh ]; then |
| 20 | echo "self-deploy.sh missing — run scripts/self-host-bootstrap.ts first" | |
| 21 | exit 1 | |
| 22 | fi | |
| 23 | /opt/gluecron/scripts/self-deploy.sh --inline |