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+ # yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+ name : Deploy to GitHub Pages
3+
4+ on :
5+ push :
6+ branches : [main]
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+
25+ - name : Setup Pages
26+ uses : actions/configure-pages@v5
27+
28+ - name : Build with Jekyll
29+ uses : actions/jekyll-build-pages@v1
30+ with :
31+ source : ./
32+ destination : ./_site
33+
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v3
36+
37+ deploy :
38+ environment :
39+ name : github-pages
40+ url : ${{ steps.deployment.outputs.page_url }}
41+ runs-on : ubuntu-latest
42+ needs : build
43+ steps :
44+ - name : Deploy to GitHub Pages
45+ id : deployment
46+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+
3+ gem "jekyll" , "~> 3.10"
4+ gem "jekyll-theme-minimal"
5+ gem "jekyll-relative-links"
6+
7+ group :jekyll_plugins do
8+ gem "jekyll-relative-links"
9+ end
You can’t perform that action at this time.
0 commit comments