Merge pull request #47 from TheOnlyZac/theonlyzac-rmaction

Remove docs auto-update action
This commit is contained in:
Zac 2023-11-30 04:31:54 -05:00 committed by GitHub
commit f3593b4118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,43 +0,0 @@
name: Generate Doxygen Documentation
on:
push:
branches:
- main
jobs:
update-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: main
- name: Switch to gh-pages branch
run: git checkout gh-pages
continue-on-error: false
- name: Init submodules
run: git submodule update --init --recursive
- name: Clone main branch into working dir
run: git clone https://github.com/${{ github.repository }} --branch main sly1
- name: Remove old docs
run: rm -rf ./html
- name: Run doxygen
run: doxygen Doxyfile
- name: Remove cloned project dir
run: rm -rf ./sly1
- name: Commit and push changes to gh-pages
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git add .
git commit -m "Generate doxygen documentation"
git push origin gh-pages