Files
awesome-arr/.github/workflows/docs.yml
2025-07-29 22:40:33 +05:30

45 lines
1.0 KiB
YAML

name: Deploy docs
on:
push:
branches:
- main
workflow_dispatch:
env:
FORCE_COLOR: 1
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
docs:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: 9.0.x
- name: Build docs
run: |
dotnet tool install retypeapp --global
retype build . --output ./site --verbose
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: './site'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5