File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 11# 🚀 Deploy Jekyll with GitHub Pages
22
3- # Sample workflow for building and deploying a Jekyll site to GitHub Pages
43name : " Deploy Jekyll with GitHub Pages"
54
65on :
7- # Runs on pushes targeting the default branch
86 push :
97 branches : ["master"]
10-
11- # Allows you to run this workflow manually from the Actions tab
128 workflow_dispatch :
139
14- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1510permissions :
1611 contents : read
1712 pages : write
1813 id-token : write
1914
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.
2215concurrency :
2316 group : " pages"
2417 cancel-in-progress : false
2518
2619jobs :
27- # Build job
2820 build :
2921 name : 📦 Build Jekyll Site
3022 runs-on : ubuntu-latest
@@ -38,13 +30,12 @@ jobs:
3830 - name : 🔨 Build Jekyll Site
3931 uses : actions/jekyll-build-pages@v1
4032 with :
41- source : ./
33+ source : ./site
4234 destination : ./_site
4335
4436 - name : 📤 Upload Artifact
4537 uses : actions/upload-pages-artifact@v3
4638
47- # Deployment job
4839 deploy :
4940 name : 🚀 Deploy to GitHub Pages
5041 environment :
You can’t perform that action at this time.
0 commit comments