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