Skip to content

Commit d2339c9

Browse files
authored
Modify Jekyll workflow for multilingual support
Updated Jekyll workflow to include multilingual support and adjust deployment steps.
1 parent d2b8645 commit d2339c9

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/jekyll.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Build Jekyll con tutti i plugin (incluso multilingua in _plugins) e pubblica su GitHub Pages
2+
name: Jekyll build and deploy
3+
4+
on:
5+
push:
6+
branches: ["main", "master"]
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+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.1'
28+
bundler-cache: true
29+
30+
- name: Build with Jekyll (inclusi plugin in _plugins)
31+
run: bundle exec jekyll build
32+
33+
- name: Upload artifact per GitHub Pages
34+
uses: actions/upload-pages-artifact@v3
35+
with:
36+
path: _site
37+
38+
deploy:
39+
environment:
40+
name: github-pages
41+
url: ${{ steps.deployment.outputs.page_url }}
42+
runs-on: ubuntu-latest
43+
needs: build
44+
steps:
45+
- name: Deploy su GitHub Pages
46+
id: deployment
47+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)