File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments