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+ name : Deploy Jekyll site to Pages
2+ on :
3+ push :
4+ branches : main
5+
6+ permissions :
7+ content : read
8+ pages : write
9+ id-token : write
10+
11+ concurrency :
12+ group : pages
13+ cancel-in-progress : false
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v6
21+
22+ - name : Set up Ruby
23+ uses : ruby/setup-ruby@v1
24+ with :
25+ bundler-cache : true
26+
27+ - name : Set up Pages
28+ uses : actions/configure-pages@v5
29+
30+ - name : Build with Jekyll
31+ run : bundle exec jekyll build
32+ env :
33+ JEKYLL_ENV : production
34+
35+ - name : Upload artifact
36+ uses : actions/upload-pages-artifact@v3
37+
38+ deploy :
39+ runs-on : ubuntu-latest
40+ needs : build
41+ environment :
42+ name : github-pages
43+ url : ${{ github.event.repository.homepage }}
44+ steps :
45+ - name : Deploy to GitHub Pages
46+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments