Skip to content

Commit a3114ef

Browse files
committed
Merge branch 'master' of https://github.com/priore/SOAPEngine
# Conflicts: # README.md
2 parents e498579 + ac19f26 commit a3114ef

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed
Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
11
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
2-
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
2+
name: Deploy Jekyll site to Pages
33

44
on:
5-
# Runs on pushes targeting the default branch
65
push:
76
branches: ["master"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
107
workflow_dispatch:
118

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
139
permissions:
1410
contents: read
1511
pages: write
1612
id-token: write
1713

18-
# Allow one concurrent deployment
14+
# Permette un solo deployment simultaneo
1915
concurrency:
20-
group: "pages"
2116
cancel-in-progress: true
17+
group: pages
2218

2319
jobs:
24-
# Build job
2520
build:
2621
runs-on: ubuntu-latest
2722
steps:
2823
- name: Checkout
29-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4 # Aggiornato a v4
25+
26+
# Carica le configurazioni di GitHub Pages
3027
- name: Setup Pages
31-
uses: actions/configure-pages@v3
28+
uses: actions/configure-pages@v4 # Aggiornato a v4
29+
30+
# Genera il sito Jekyll
3231
- name: Build with Jekyll
3332
uses: actions/jekyll-build-pages@v1
3433
with:
3534
source: ./
3635
destination: ./_site
36+
37+
# Carica gli artefatti generati (il sito web)
3738
- name: Upload artifact
38-
uses: actions/upload-pages-artifact@v1
39+
# AGGIORNAMENTO FONDAMENTALE PER RISOLVERE L'ERRORE
40+
uses: actions/upload-pages-artifact@v3 # Utilizza l'azione dedicata per Pages (che include l'upload corretto)
41+
with:
42+
path: ./_site
3943

40-
# Deployment job
4144
deploy:
4245
environment:
4346
name: github-pages
@@ -47,4 +50,4 @@ jobs:
4750
steps:
4851
- name: Deploy to GitHub Pages
4952
id: deployment
50-
uses: actions/deploy-pages@v1
53+
uses: actions/deploy-pages@v4 # Aggiornato a v4

0 commit comments

Comments
 (0)