[READ-ONLY] Mirror of https://github.com/flo-bit/dogumentation. Simple, minimalistic documentation template using astro
flo-bit.dev/dogumentation/
629 B
32 lines
1name: Deploy to GitHub Pages
2
3on:
4 push:
5 branches: [main]
6 workflow_dispatch:
7
8permissions:
9 contents: read
10 pages: write
11 id-token: write
12
13jobs:
14 build:
15 runs-on: ubuntu-latest
16 steps:
17 - name: Checkout your repository using git
18 uses: actions/checkout@v4
19
20 - name: Install, build, and upload your site
21 uses: withastro/action@v3
22
23 deploy:
24 needs: build
25 runs-on: ubuntu-latest
26 environment:
27 name: github-pages
28 url: ${{ steps.deployment.outputs.page_url }}
29 steps:
30 - name: Deploy to GitHub Pages
31 id: deployment
32 uses: actions/deploy-pages@v4