File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build and deploy Jekyll site to Pages
22
33on :
44 push :
5- branches : [ main ] # or your default branch
5+ branches : [ main ] # or your default branch
66 workflow_dispatch :
77
88permissions :
2020 steps :
2121 - uses : actions/checkout@v4
2222
23+ # REQUIRED: configures the Pages deployment
24+ - name : Setup Pages
25+ uses : actions/configure-pages@v5
26+
2327 - uses : ruby/setup-ruby@v1
2428 with :
2529 ruby-version : ' 3.3'
@@ -33,14 +37,13 @@ jobs:
3337 - name : Build with Jekyll
3438 uses : actions/jekyll-build-pages@v1
3539 with :
36- # IMPORTANT: paths are relative to repo root
37- source : ./jekyll-site
38- destination : ./_site
40+ source : ./jekyll-site # your site lives here
41+ destination : ./_site # output for upload
3942
4043 - name : Upload artifact
4144 uses : actions/upload-pages-artifact@v3
4245 with :
43- path : ./_site
46+ path : ./_site # artifact name defaults to github-pages
4447
4548 deploy :
4649 needs : build
You can’t perform that action at this time.
0 commit comments