Commit f024b79 1 parent 68bc467 commit f024b79 Copy full SHA for f024b79
File tree 2 files changed +36
-41
lines changed
2 files changed +36
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Deploy
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ # Build job
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : denoland/setup-deno@v2
16
+ with :
17
+ deno-version : v2.x
18
+ - run : deno install
19
+ - run : deno run build
20
+ - name : Upload static files as artifact
21
+ id : deployment
22
+ uses : actions/upload-pages-artifact@v3
23
+ with :
24
+ path : dist/
25
+
26
+ # Deployment job
27
+ deploy :
28
+ environment :
29
+ name : github-pages
30
+ url : ${{ steps.deployment.outputs.page_url }}
31
+ runs-on : ubuntu-latest
32
+ needs : build
33
+ steps :
34
+ - name : Deploy to GitHub Pages
35
+ id : deployment
36
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments