posts "question of the day" to a discord webhook

Added Tangled Deno Deploy workflow

+21
+21
.tangled/workflows/deploy.yaml
··· 1 + when: 2 + - event: ["push", "pull_request"] 3 + branch: ["main"] 4 + 5 + dependencies: 6 + nixpkgs: 7 + - deno 8 + 9 + steps: 10 + - name: Upload to Deno Deploy 11 + environment: 12 + DENO_DEPLOY_PROJECT: discord-qotd-webhook 13 + DENO_DEPLOY_ENTRYPOINT: main.ts 14 + DENO_DEPLOY_ROOT: . 15 + command: | 16 + # 1. Install deployctl and add it to the path for the next command 17 + export PATH="$HOME/.deno/bin:$PATH" 18 + deno install -gArf jsr:@deno/deployctl 19 + 20 + # 2. Deploy project 21 + deployctl deploy --project=$DENO_DEPLOY_PROJECT --entrypoint=$DENO_DEPLOY_ENTRYPOINT --root=$DENO_DEPLOY_ROOT --token=$DENO_DEPLOY_TOKEN