File tree Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Expand file tree Collapse file tree 2 files changed +48
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and deploy Jekyll site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+ - name : Setup Ruby
24+ uses : ruby/setup-ruby@v1
25+ with :
26+ ruby-version : ' 3.1'
27+ bundler-cache : true
28+ cache-version : 0
29+ - name : Setup Pages
30+ id : pages
31+ uses : actions/configure-pages@v5
32+ - name : Build with Jekyll
33+ run : bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
34+ env :
35+ JEKYLL_ENV : production
36+ - name : Upload artifact
37+ uses : actions/upload-pages-artifact@v3
38+
39+ deploy :
40+ environment :
41+ name : github-pages
42+ url : ${{ steps.deployment.outputs.page_url }}
43+ runs-on : ubuntu-latest
44+ needs : build
45+ steps :
46+ - name : Deploy to GitHub Pages
47+ id : deployment
48+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 3838.sass-cache
3939
4040.claude /
41- .github /
4241.idea /
4342.run /
4443_posts_bak /
You can’t perform that action at this time.
0 commit comments