File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed
Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and deploy site
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ workflow_dispatch :
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0 # for jekyll-last-modified-at to access git history
18+
19+ - name : Setup Ruby
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ ruby-version : ' 3.1'
23+
24+ - name : Install dependencies
25+ run : |
26+ gem install bundler
27+ bundle config set --local path 'vendor/bundle'
28+ bundle install
29+
30+ - name : Build site with Jekyll
31+ run : bundle exec jekyll build
32+
33+ - name : Deploy to GitHub pages
34+ uses : peaceiris/actions-gh-pages@v3
35+ with :
36+ github_token : ${{ secrets.GITHUB_TOKEN }}
37+ publish_dir : ./_site
38+ publish_branch : gh-pages
Original file line number Diff line number Diff line change 55 < p class ="footer-text m-0 col-lg-8 col-md-12 ">
66 Copyright © OrderLab 2017-< script >
77 document . write ( new Date ( ) . getFullYear ( ) ) ;
8- </ script > All rights reserved. | Last updated {{ site.time }}.
8+ </ script > All rights reserved. | Last updated {{ page.last_modified_at }}.
99 </ p >
1010 </ div >
1111</ div >
You can’t perform that action at this time.
0 commit comments