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