We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6093f05 commit 99550ccCopy full SHA for 99550cc
.github/workflows/deploy.yml
@@ -0,0 +1,31 @@
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@v4
19
+ - name: Install, build, and upload your site
20
+ uses: withastro/action@v3
21
22
+ deploy:
23
+ needs: build
24
25
+ environment:
26
+ name: github-pages
27
+ url: ${{ steps.deployment.outputs.page_url }}
28
29
+ - name: Deploy to GitHub pages
30
+ id: deployment
31
+ uses: actions/deploy-pages@v4
0 commit comments