File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# https://github.com/actions/deploy-pages#usage
22name : Deploy to GitHub Pages
3+
34on :
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+
824jobs :
925 build :
1026 runs-on : ubuntu-latest
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
You can’t perform that action at this time.
0 commit comments