Files
Huntarr.io/.github/workflows/huntarr-docs.yml
Admin9705 8670f47348 update
2026-02-06 15:51:51 -05:00

42 lines
941 B
YAML

name: Deploy Huntarr Documentation
on:
push:
branches:
- main
- dev
- 'docs*'
- 'win*'
paths:
- 'docs/**'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/heads/docs') || startsWith(github.ref, 'refs/heads/win')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4