Skip to content

Commit f58e6cb

Browse files
committed
Add GitHub Actions workflow for Jekyll site deployment and update footer with clickable Lab42 link
1 parent 1423894 commit f58e6cb

2 files changed

Lines changed: 45 additions & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy Jekyll site to Pages
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
env:
21+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
- name: Setup Pages
26+
uses: actions/configure-pages@v5
27+
- name: Build with Jekyll
28+
uses: actions/jekyll-build-pages@v1
29+
with:
30+
source: ./
31+
destination: ./_site
32+
- name: Upload artifact
33+
uses: actions/upload-pages-artifact@v3
34+
35+
deploy:
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
runs-on: ubuntu-latest
40+
needs: build
41+
steps:
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="col-lg-6 col-sm-6">
88
<div class="clearfix"></div>
99
<ul class="list-inline">
10-
<li>Lab42 Srl - IT03677180121</li>
10+
<li><a href="https://www.lab42.it" target="_blank">Lab42 Srl</a> - IT03677180121</li>
1111
<li class="footer-menu-divider">&sdot;</li>
1212
<li><a href="/legal/">Legal information</a></li>
1313
</ul>

0 commit comments

Comments
 (0)