revert to using gh-pages #16
Workflow file for this run
This file contains 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: Update Doxygen Page | |
on: | |
push: | |
jobs: | |
doxygen: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Install Doxygen | |
run: | | |
sudo apt-add-repository universe | |
sudo apt-get update | |
sudo apt-get install doxygen | |
- name: Checkout Original | |
uses: actions/checkout@v4 | |
with: | |
path: original | |
- name: Run Doxygen | |
working-directory: original | |
run: doxygen | |
- name: Checkout Pages | |
uses: actions/checkout@v4 | |
with: | |
path: pages | |
- name: Set up pages directory | |
working-directory: pages | |
run: | | |
git checkout --orphan gh-pages | |
git rm -rf . | |
cp -r ../original/html/. . | |
- name: Update Github | |
working-directory: pages | |
run: | | |
git config user.name "GitHub Actions Bot" | |
git config user.email "<>" | |
git add . | |
git commit -m "Update page from action" | |
git push -f origin gh-pages |