quc v0: the cage, the chair, the safeword, the magic words, the replay (#241)
ci / test (push) Successful in 52s
quc / deploy (push) Failing after 3m34s
sync / sync (push) Successful in 10s
time/worker-run cd .github/time && python3 - <<'E' p='time.py'; s=open(p).read() s=s.replace(''' try: ret

This commit was merged in pull request #241.
This commit is contained in:
teahubxyz committed 2026-10-22 18:26:41 +00:00
1 parent 582695df5a
commit f479c5f016
15 files changed
+1135 -162

No files matched your search

+1
View File
@@ -20,3 +20,4 @@ jobs:
- run: python3 .github/time/test_time.py
- run: python3 .github/time/test_seed.py
- run: python3 .github/time/test_housekeeping.py
- run: npm test --prefix quc
+31
View File
@@ -0,0 +1,31 @@
name: quc
# Test and deploy quc (quc/, live at quc.<venture domain>) when it changes on main. Skips the deploy until the Cloudflare
# token is staged as a repo secret (see .github/time/SECRETS.md); deploys from hb-5 work meanwhile.
on:
push:
branches: [main]
paths: ["quc/**"]
workflow_dispatch:
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 6
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID || 'dac3b11890319628eb5cd761445b63ee' }}
VENICE_API_KEY: ${{ secrets.VENICE_API_KEY }}
TIME_VENTURE_DOMAIN: ${{ vars.TIME_VENTURE_DOMAIN || 'yolopreneur.lol' }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm test --prefix quc
- name: deploy
if: env.CLOUDFLARE_API_TOKEN != ''
run: python3 quc/deploy.py
- name: no token yet
if: env.CLOUDFLARE_API_TOKEN == ''
run: echo "CLOUDFLARE_API_TOKEN is not staged; tests passed, deploy skipped" >> "$GITHUB_STEP_SUMMARY"