Update funding sources in FUNDING.yml #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Sample workflow for building and deploying a Jekyll site to GitHub Pages | |
| name: Deploy Jekyll site to Pages | |
| on: | |
| push: | |
| branches: ["master"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| # Permette un solo deployment simultaneo | |
| concurrency: | |
| cancel-in-progress: true | |
| group: pages | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 # Aggiornato a v4 | |
| # Carica le configurazioni di GitHub Pages | |
| - name: Setup Pages | |
| uses: actions/configure-pages@v4 # Aggiornato a v4 | |
| # Genera il sito Jekyll | |
| - name: Build with Jekyll | |
| uses: actions/jekyll-build-pages@v1 | |
| with: | |
| source: ./ | |
| destination: ./_site | |
| # Carica gli artefatti generati (il sito web) | |
| - name: Upload artifact | |
| # AGGIORNAMENTO FONDAMENTALE PER RISOLVERE L'ERRORE | |
| uses: actions/upload-pages-artifact@v3 # Utilizza l'azione dedicata per Pages (che include l'upload corretto) | |
| with: | |
| path: ./_site | |
| deploy: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 # Aggiornato a v4 |