mirror of
https://github.com/plexguide/Huntarr.git
synced 2026-02-12 21:58:41 -06:00
chore: bump version from 6.5.18 to 6.5.19 and refine community resources terminology in settings and home section
This commit is contained in:
59
.github/workflows/docs.yml
vendored
Normal file
59
.github/workflows/docs.yml
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
name: Deploy Huntarr Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/docs.yml'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
# Allow manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
# Allow only one concurrent deployment
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
|
||||
- name: Build Documentation
|
||||
run: |
|
||||
# Copy the assets needed for documentation
|
||||
mkdir -p docs/assets
|
||||
cp -r frontend/static/css docs/assets/css || true
|
||||
cp -r frontend/static/js docs/assets/js || true
|
||||
cp -r frontend/static/img docs/assets/img || true
|
||||
cp -r assets/logo docs/assets/logo || true
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
path: './docs'
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
if: github.event_name != 'pull_request'
|
||||
Reference in New Issue
Block a user