Skip to content

Commit b432f36

Browse files
committed
actions
1 parent 998c4e1 commit b432f36

1 file changed

Lines changed: 20 additions & 4 deletions

File tree

.github/workflows/nuxtjs.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
# https://github.com/actions/deploy-pages#usage
22
name: Deploy to GitHub Pages
3+
34
on:
4-
workflow_dispatch:
5+
# Runs on pushes targeting the default branch
56
push:
6-
branches:
7-
- main
7+
branches: ["master"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
824
jobs:
925
build:
1026
runs-on: ubuntu-latest
@@ -13,7 +29,7 @@ jobs:
1329
- run: corepack enable
1430
- uses: actions/setup-node@v4
1531
with:
16-
node-version: "24"
32+
node-version: "22"
1733
# Pick your own package manager and build script
1834
- run: bun install
1935
- run: bunx nuxt build --preset github_pages

0 commit comments

Comments
 (0)