File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 11# Sample workflow for building and deploying a Jekyll site to GitHub Pages
22name : Deploy Jekyll with GitHub Pages dependencies preinstalled
3-
43on :
54 # Runs on pushes targeting the default branch
65 push :
76 branches : ["main"]
8-
97 # Allows you to run this workflow manually from the Actions tab
108 workflow_dispatch :
11-
129# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1310permissions :
1411 contents : read
1512 pages : write
1613 id-token : write
17-
1814# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1915# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2016concurrency :
2117 group : " pages"
2218 cancel-in-progress : false
23-
2419jobs :
2520 # Build job
2621 build :
2722 runs-on : ubuntu-latest
2823 steps :
2924 - name : Checkout
30- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
3126 - name : Setup Pages
32- uses : actions/configure-pages@v3
27+ uses : actions/configure-pages@v5
3328 - name : Build with Jekyll
3429 uses : actions/jekyll-build-pages@v1
3530 with :
3631 source : ./docs
3732 destination : ./_site
3833 - name : Upload artifact
39- uses : actions/upload-pages-artifact@v2
40-
34+ uses : actions/upload-pages-artifact@v3
4135 # Deployment job
4236 deploy :
4337 environment :
4842 steps :
4943 - name : Deploy to GitHub Pages
5044 id : deployment
51- uses : actions/deploy-pages@v2
45+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments