File tree Expand file tree Collapse file tree 2 files changed +61
-0
lines changed Expand file tree Collapse file tree 2 files changed +61
-0
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+ pull_request :
7+ branches : [ main ]
8+
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
11+
12+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+ permissions :
14+ contents : read
15+ pages : write
16+ id-token : write
17+
18+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+ concurrency :
21+ group : " pages"
22+ cancel-in-progress : false
23+
24+ jobs :
25+ # Build job
26+ build :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout
30+ uses : actions/checkout@v4
31+ - name : Setup Ruby
32+ uses : ruby/setup-ruby@v1
33+ with :
34+ ruby-version : ' 3.1'
35+ bundler-cache : true
36+ - name : Setup Pages
37+ uses : actions/configure-pages@v4
38+ - name : Build with Jekyll
39+ run : |
40+ bundle exec jekyll build --baseurl "${{ steps.determine-url.outputs.base_url }}"
41+ env :
42+ JEKYLL_ENV : production
43+ - name : Upload artifact
44+ uses : actions/upload-pages-artifact@v3
45+ with :
46+ path : ./_site
47+
48+ # Deployment job
49+ deploy :
50+ environment :
51+ name : github-pages
52+ url : ${{ steps.deployment.outputs.page_url }}
53+ runs-on : ubuntu-latest
54+ needs : build
55+ steps :
56+ - name : Deploy to GitHub Pages
57+ id : deployment
58+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 88 < meta name ="description " content ="{{ page.description | default: site.description }} ">
99 < link rel ="canonical " href ="{{ page.url | absolute_url }} ">
1010 < link rel ="icon " href ="{{ '/assets/img/limlogo.webp' | relative_url }} " type ="image/webp ">
11+ < link rel ="icon " href ="{{ '/assets/img/limlogo.webp' | relative_url }} " type ="image/png " sizes ="32x32 ">
12+ < link rel ="apple-touch-icon " href ="{{ '/assets/img/limlogo.webp' | relative_url }} ">
13+ < link rel ="shortcut icon " href ="{{ '/assets/img/limlogo.webp' | relative_url }} ">
1114 < meta property ="og:site_name " content ="{{ site.title }} ">
1215 < meta property ="og:title " content ="{{ page.title | default: site.title }} – LIM Lab ">
1316 < meta property ="og:type " content ="website ">
You can’t perform that action at this time.
0 commit comments