Skip to content

Update

Update #29

Workflow file for this run

name: Plugin Frame Docs Deployment
on:
push:
branches: [master]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install -y doxygen graphviz
mkdir -p public public/assets
- name: Copy Config Files
run: |
# Copy Doxygen config to root
cp ././.github/docs_config/Doxyfile ./Doxyfile
# Copy styling assets
cp ././.github/docs_config/* public/assets/
- name: Generate Documentation
run: |
echo "pf.ractstudio.com" > public/CNAME
doxygen Doxyfile
- name: Cleanup & Deploy
run: rm Doxyfile # Remove temporary file
- name: Deploy to Doc Branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: doc
keep_files: true
force_orphan: false