File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " daily"
7+ - package-ecosystem : " bundler"
8+ directory : " /"
9+ schedule :
10+ interval : " daily"
Original file line number Diff line number Diff line change 1+ # Ref https://github.com/actions/starter-workflows/blob/main/pages/jekyll-gh-pages.yml
2+ name : Publish
3+ on :
4+ push :
5+ branches : ["main"]
6+ #
7+ # This block is necessary for the `actions/deploy-pages` actions.
8+ # If this part does not exist, raise the following error.
9+ # Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
10+ #
11+ permissions :
12+ contents : read
13+ pages : write
14+ id-token : write
15+ #
16+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
18+ concurrency :
19+ group : " pages"
20+ cancel-in-progress : false
21+ jobs :
22+ # Build job
23+ build :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout
27+ uses : actions/checkout@v4
28+ - name : Setup Pages
29+ uses : actions/configure-pages@v5
30+ - name : Build with Jekyll
31+ # Jekyll outputs contents to _site by default.
32+ # Set destination path explicitly.
33+ # Just copied template file.
34+ uses : actions/jekyll-build-pages@v1
35+ with :
36+ source : ./docs/
37+ destination : ./_site
38+ - name : Upload artifact
39+ uses : actions/upload-pages-artifact@v3
40+
41+ deploy :
42+ environment :
43+ name : github-pages
44+ url : ${{ steps.deployment.outputs.page_url }}
45+ runs-on : ubuntu-latest
46+ needs : build
47+ steps :
48+ - name : Deploy to GitHub Pages
49+ id : deployment
50+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments