Updated deploy.yml using template actions/upload-artifact

This commit is contained in:
niclaz 2024-09-05 19:35:48 +02:00 committed by GitHub
parent ea7c52d136
commit 784bf81edd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,11 +48,15 @@ jobs:
deploy: deploy:
needs: build needs: build
runs-on: ubuntu-latest permissions:
contents: read
pages: write
id-token: write
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action