File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : Deploy static content to Pages
33
44on :
5- # Runs on pushes targeting the default branch
6- push :
7- branches : ['main']
8-
9- # Allows you to run this workflow manually from the Actions tab
5+ # Manual trigger only
106 workflow_dispatch :
117
12- # Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
138permissions :
149 contents : read
1510 pages : write
1611 id-token : write
1712
18- # Allow one concurrent deployment
1913concurrency :
2014 group : ' pages'
2115 cancel-in-progress : true
2216
2317jobs :
24- # Single deploy job since we're just deploying
2518 deploy :
2619 environment :
2720 name : github-pages
2821 url : ${{ steps.deployment.outputs.page_url }}
2922 runs-on : ubuntu-latest
3023 steps :
3124 - name : Checkout
32- uses : actions/checkout@v5
25+ uses : [ actions/checkout@v4](https://github.com)
3326 - name : Set up Node
34- uses : actions/setup-node@v6
27+ uses : [ actions/setup-node@v4](https://github.com)
3528 with :
3629 node-version : lts/*
3730 cache : ' npm'
@@ -42,12 +35,11 @@ jobs:
4235 env :
4336 VITE_LOCATIONIQ_API_KEY : ${{ secrets.VITE_LOCATIONIQ_API_KEY }}
4437 - name : Setup Pages
45- uses : actions/configure-pages@v5
38+ uses : [ actions/configure-pages@v5](https://github.com)
4639 - name : Upload artifact
47- uses : actions/upload-pages-artifact@v4
40+ uses : [ actions/upload-pages-artifact@v3](https://github.com)
4841 with :
49- # Upload dist folder
5042 path : ' ./dist'
5143 - name : Deploy to GitHub Pages
5244 id : deployment
53- uses : actions/deploy-pages@v4
45+ uses : [ actions/deploy-pages@v4](https://github.com)
You can’t perform that action at this time.
0 commit comments