Skip to content

Commit e561f59

Browse files
[Deno Deploy] Update .github/workflows/deploy.yml
1 parent 4b0ea25 commit e561f59

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/deploy.yml

+17-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Deploy
22
on:
33
push:
4-
branches: [main]
4+
branches: davis9001/dark_mode
55
pull_request:
6-
branches: main
6+
branches: davis9001/dark_mode
77

88
jobs:
99
deploy:
@@ -21,15 +21,24 @@ jobs:
2121
- name: Install Deno
2222
uses: denoland/setup-deno@v2
2323
with:
24-
deno-version: rc
24+
deno-version: v2.x
25+
26+
- name: Install Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: lts/*
30+
31+
- name: Install step
32+
run: "deno install"
2533

2634
- name: Build step
27-
working-directory: ./www
28-
run: "deno task build" # 📝 Update the build command(s) if necessary
35+
run: "deno task build-www"
2936

3037
- name: Upload to Deno Deploy
3138
uses: denoland/deployctl@v1
3239
with:
33-
project: "fresh" # 📝 Update the deploy project name if necessary
34-
entrypoint: "./www/main.ts" # 📝 Update the entrypoint if necessary
35-
root: "."
40+
project: "davis9001-fresh-darkmode"
41+
entrypoint: "www/main.ts"
42+
root: "./www"
43+
44+

0 commit comments

Comments
 (0)