File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+ on :
3
+ push :
4
+ branches : master
5
+ pull_request :
6
+ branches : master
7
+
8
+ jobs :
9
+ deploy :
10
+ name : Deploy
11
+ runs-on : ubuntu-latest
12
+
13
+ permissions :
14
+ id-token : write # Needed for auth with Deno Deploy
15
+ contents : read # Needed to clone the repository
16
+
17
+ steps :
18
+ - name : Clone repository
19
+ uses : actions/checkout@v3
20
+
21
+ - name : Install Deno
22
+ uses : denoland/setup-deno@v1
23
+ with :
24
+ deno-version : v1.x
25
+
26
+ - name : Install Node.js
27
+ uses : actions/setup-node@v3
28
+ with :
29
+ node-version : lts/*
30
+
31
+ - name : Build step
32
+ run : " npm install && npm run build" # 📝 Update the build command(s) if necessary
33
+
34
+ - name : Upload to Deno Deploy
35
+ uses : denoland/deployctl@v1
36
+ with :
37
+ project : " empty-kingfisher-35"
38
+ entrypoint : " index.js" # 📝 Update the entrypoint if necessary
39
+ root : " ." # 📝 Update the root if necessary
You can’t perform that action at this time.
0 commit comments