awesome-slot/.github/workflows/doc.yaml

39 lines
875 B
YAML
Raw Normal View History

name: Build doc
on:
push:
2021-10-21 20:12:56 +02:00
branches:
- $default-branch
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
2021-10-21 20:12:56 +02:00
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-10-21 20:12:56 +02:00
- uses: actions/checkout@v4
- uses: lunarmodules/ldoc@v1.5.0
- uses: actions/upload-pages-artifact@v3
id: deployment
with:
path: doc/
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
2021-10-21 20:12:56 +02:00
- uses: actions/deploy-pages@v4
id: deployment