File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed
Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 11# Sample workflow for deploying a Jekyll site to GitHub Pages
2- name : GitHub pages deployment
2+ name : Pages
33
44# Runs on pushes targeting the default branch
55on :
Original file line number Diff line number Diff line change 11# Workflow for building a Jekyll site for deployment to GitHub Pages
2- name : GitHub pages build
2+ name : Pages test
33
44# Runs on pull request creation
55on :
5555 uses : actions/jekyll-build-pages@v1
5656 with :
5757 source : ./site
58- destination : ./site/_site
58+ destination : ./site/_site
59+ - name : Upload artifact
60+ uses : actions/upload-pages-artifact@v3
61+ with :
62+ path : ./site/_site
63+
64+ # Deployment job
65+ deploy :
66+ name : Test deploy pages site
67+ environment :
68+ name : github-pages-test
69+ url : ${{ steps.deployment.outputs.page_url }}
70+ runs-on : ubuntu-latest
71+ needs : build
72+ steps :
73+ - name : Deploy to GitHub Pages
74+ id : deployment
75+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments