diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml new file mode 100644 index 0000000..80fd286 --- /dev/null +++ b/.github/workflows/deployment.yaml @@ -0,0 +1,28 @@ +name: Deploy to Github Pages + +on: push + +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v4 + - name: Install, build, and upload your site + uses: withastro/action@v1 + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 diff --git a/package.json b/package.json index 8106378..73153b3 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "react-dom": "^19.0.0", "sharp": "^0.32.5" }, + "packageManager": "pnpm@9.9.0", "devDependencies": { "@types/react": "^19.0.4", "@types/react-dom": "^19.0.2",