Skip to content

docs: rename release/4.x branch references to release/4.0.x #20

docs: rename release/4.x branch references to release/4.0.x

docs: rename release/4.x branch references to release/4.0.x #20

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [main]
workflow_dispatch: # Allows manual trigger from GitHub UI
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout docs repo
uses: actions/checkout@v4
- name: Checkout target repo
uses: actions/checkout@v4
with:
repository: poweradmin/poweradmin.github.io
path: poweradmin.github.io
token: ${{ secrets.DEPLOY_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: pip install mkdocs
- name: Build and deploy
run: |
cd poweradmin.github.io
mkdocs gh-deploy --verbose --config-file ../mkdocs.yml --remote-branch master --force