Merge pull request #28 from advanced-astro/renovate/pnpm-9.x #10
This file contains 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
name: Deploy to GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checke dein Repository mit Git aus | |
uses: actions/checkout@v4 | |
- name: Installiere Abhängigkeiten, erzeuge deine Website und lade sie hoch | |
uses: withastro/action@v2 | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Bei GitHub Pages veröffentlichen | |
id: deployment | |
uses: actions/deploy-pages@v4 |