Skip to content

Commit 243329c

Browse files
committed
hmm
1 parent e88c86e commit 243329c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/deploy.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,34 @@ on:
1212
workflow_dispatch:
1313

1414
# 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:
1729
runs-on: ubuntu-latest
1830
steps:
1931
- name: Checkout
2032
uses: actions/checkout@v4
2133
with:
2234
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+
2343
# Deployment job
2444
deploy:
2545
needs: build

0 commit comments

Comments
 (0)