File tree Expand file tree Collapse file tree 2 files changed +52
-1
lines changed
Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 4242 run : swift test
4343
4444 site-build :
45- name : Site Build
45+ name : Build Site
4646 runs-on : macos-15
4747 steps :
4848 - uses : actions/checkout@v6
Original file line number Diff line number Diff line change 1+ name : Deploy Site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ workflow_dispatch :
7+
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16+ concurrency :
17+ group : " pages"
18+ cancel-in-progress : false
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v6
25+ - uses : ruby/setup-ruby@v1
26+ with :
27+ bundler-cache : true
28+
29+ - name : Setup Pages
30+ uses : actions/configure-pages@v4
31+
32+ - name : Build site
33+ run : bundle exec rake site:build
34+ env :
35+ JEKYLL_ENV : production
36+
37+ - name : Upload artifact
38+ uses : actions/upload-pages-artifact@v3
39+ with :
40+ path : _site
41+
42+ deploy :
43+ environment :
44+ name : github-pages
45+ url : ${{ steps.deployment.outputs.page_url }}
46+ runs-on : ubuntu-latest
47+ needs : build
48+ steps :
49+ - name : Deploy to GitHub Pages
50+ id : deployment
51+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments