Skip to content

Commit

Permalink
Does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
baynezy committed Feb 10, 2024
1 parent 5e5851f commit ed376db
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,12 @@ jobs:
push-documentation:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Install Doxygen Portable
run: |
sudo apt-get update
sudo apt-get install doxygen
sudo apt-get install graphviz
doxygen --version
- name: Generate documentation
run: |
doxygen doxygen.config
- name: Set config settings
run: |
Expand All @@ -35,7 +28,7 @@ jobs:
- name: Clone gh-pages branch
run: |
mkdir gh-pages
git clone --quiet --branch=gh-pages https://${{ secrets.USERNAME }}:${{ secrets.PAT }}@github.com/baynezy/SiteWarmer.git ./gh-pages
git clone --quiet --branch=gh-pages git@github.com:baynezy/SiteWarmer.git ./gh-pages
cd gh-pages
git status
Expand All @@ -45,6 +38,10 @@ jobs:
find . -type f -not -name '.git*' -delete
git status
- name: Generate documentation
run: |
doxygen doxygen.config
- name: Copy contents of documentation folder into gh-pages folder
run: |
cp -r ../documentation/html/* .
Expand Down

0 comments on commit ed376db

Please sign in to comment.