File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 12
12
workflow_dispatch :
13
13
14
14
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
15
- jobs :
16
- build :
15
+ permissions :
16
+ contents : read
17
+ pages : write
18
+ id-token : write
19
+
20
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
21
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
22
+ concurrency :
23
+ group : pages
24
+ cancel-in-progress : false
25
+
26
+ jobs :
27
+ # Build job
28
+ build :
17
29
runs-on : ubuntu-latest
18
30
steps :
19
31
- name : Checkout
20
32
uses : actions/checkout@v4
21
33
with :
22
34
fetch-depth : 0 # Not needed if lastUpdated is not enabled
35
+ # - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
36
+ # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
37
+ - name : Setup Node
38
+ uses : actions/setup-node@v4
39
+ with :
40
+ node-version : 20
41
+ cache : npm # or pnpm / yarn
42
+
23
43
# Deployment job
24
44
deploy :
25
45
needs : build
You can’t perform that action at this time.
0 commit comments