We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a826cb commit b4c4bfeCopy full SHA for b4c4bfe
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,34 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+permissions:
10
+ contents: read
11
+ pages: write
12
+ id-token: write
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v4
20
+ - name: Install, build and upload
21
+ uses: withastro/action@v2
22
+ with:
23
+ package-manager: pnpm@latest
24
25
+ deploy:
26
+ needs: build
27
28
+ environment:
29
+ name: github-pages
30
+ url: ${{ steps.deployment.outputs.page_url }}
31
32
+ - name: Deploy to GitHub Pages
33
+ id: deployment
34
+ uses: actions/deploy-pages@v4
0 commit comments