Update #28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/header.html public/ | |
| cp ././.github/docs_config/footer.html public/ | |
| cp ././.github/docs_config/assets/* 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 |