File tree 2 files changed +34
-4
lines changed
2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
build :
12
- uses : janosh/workflows/.github/workflows/deno-gh-pages.yml@main
13
- with :
14
- working-directory : site
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Deno
18
+ uses : denoland/setup-deno@v1
19
+ with :
20
+ deno-version : v1.x
21
+
22
+ - name : Build site
23
+ run : |
24
+ cd site
25
+ deno task build
26
+
27
+ - name : Upload Pages artifact
28
+ uses : actions/upload-pages-artifact@v3
29
+ with :
30
+ path : site/build
31
+
32
+ deploy :
33
+ needs : build
34
+ if : github.ref == 'refs/heads/main'
35
+ permissions :
36
+ pages : write
37
+ id-token : write
38
+ environment :
39
+ name : github-pages
40
+ url : ${{ steps.deployment.outputs.page_url }}
41
+ runs-on : ubuntu-latest
42
+ steps :
43
+ - name : Deploy to GitHub Pages
44
+ id : deployment
45
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 25
25
types : [file]
26
26
files : \.(js|ts|svelte|json|jsonc)$
27
27
language : system
28
-
29
28
- id : deno-lint
30
29
name : Deno lint
31
30
entry : deno lint
You can’t perform that action at this time.
0 commit comments