We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1df025b commit 29d4c8eCopy full SHA for 29d4c8e
2 files changed
.github/workflows/deploy.yml
@@ -0,0 +1,33 @@
1
+name: Deploy to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
8
+permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
13
+jobs:
14
+ build:
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Checkout your repository using git
18
+ uses: actions/checkout@v5
19
+ - name: Install, build, and upload your site
20
+ uses: withastro/action@v5
21
+ with:
22
+ path: docs
23
24
+ deploy:
25
+ needs: build
26
27
+ environment:
28
+ name: github-pages
29
+ url: ${{ steps.deployment.outputs.page_url }}
30
31
+ - name: Deploy to GitHub Pages
32
+ id: deployment
33
+ uses: actions/deploy-pages@v4
.gitignore
@@ -1,4 +1,5 @@
-
+# build output
+dist/
# generated types
.astro/
0 commit comments