2023-02-05 13:03:13 +00:00
|
|
|
name: Docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2023-02-05 13:14:22 +00:00
|
|
|
branches:
|
|
|
|
- main
|
2023-02-05 13:03:13 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pages: write
|
|
|
|
id-token: write
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: "pages"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
environment:
|
|
|
|
name: github-pages
|
|
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-03-03 22:40:37 +00:00
|
|
|
- uses: ./.github/actions/build
|
2023-02-05 13:03:13 +00:00
|
|
|
|
|
|
|
- uses: actions/configure-pages@v3
|
|
|
|
- uses: actions/upload-pages-artifact@v1
|
|
|
|
with:
|
|
|
|
path: "./docs"
|
|
|
|
- id: deployment
|
|
|
|
uses: actions/deploy-pages@v1
|