tangled
alpha
login
or
join now
timtinkers.online
/
discord-qotd-webhook
1
fork
atom
posts "question of the day" to a discord webhook
1
fork
atom
overview
issues
pulls
pipelines
Added Tangled Deno Deploy workflow
timtinkers.online
7 months ago
54d67b2b
5a80133b
0/1
deploy.yaml
failed
1m 21s
+21
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
deploy.yaml
+21
.tangled/workflows/deploy.yaml
reviewed
···
1
1
+
when:
2
2
+
- event: ["push", "pull_request"]
3
3
+
branch: ["main"]
4
4
+
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- deno
8
8
+
9
9
+
steps:
10
10
+
- name: Upload to Deno Deploy
11
11
+
environment:
12
12
+
DENO_DEPLOY_PROJECT: discord-qotd-webhook
13
13
+
DENO_DEPLOY_ENTRYPOINT: main.ts
14
14
+
DENO_DEPLOY_ROOT: .
15
15
+
command: |
16
16
+
# 1. Install deployctl and add it to the path for the next command
17
17
+
export PATH="$HOME/.deno/bin:$PATH"
18
18
+
deno install -gArf jsr:@deno/deployctl
19
19
+
20
20
+
# 2. Deploy project
21
21
+
deployctl deploy --project=$DENO_DEPLOY_PROJECT --entrypoint=$DENO_DEPLOY_ENTRYPOINT --root=$DENO_DEPLOY_ROOT --token=$DENO_DEPLOY_TOKEN