Skip to content

Commit

Permalink
Merge pull request #300 from smpark7/update-gh-pages-subaction-squash
Browse files Browse the repository at this point in the history
Update gh pages action
  • Loading branch information
nglaser3 authored Feb 5, 2025
2 parents 4652aff + 7725a8d commit e8ce3f0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/auto-update-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

# Generate Doxygen html files in ./doc/content/doxygen directory using Doxyfile in
# base directory
Expand All @@ -26,26 +26,25 @@ jobs:

# Install MOOSE Conda environment & build combined MooseDocs/Doxygen html files into
# ./doc/html
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
miniforge-variant: Mambaforge
channels: conda-forge,https://conda.software.inl.gov/public
channels: conda-forge,https://conda.software.inl.gov/public,defaults
activate-environment: moose-env
- shell: bash -l {0}
run: |
conda deactivate
conda activate moose-env
mamba install moose-dev
conda install moose-dev
conda deactivate
conda activate moose-env
git submodule init && git submodule update
make -j 2
make -j 4
cd doc
./moosedocs.py build --destination html
# Merge MooseDocs and Doxygen html files in ./doc/html into gh-pages branch base directory
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/html
Expand Down

0 comments on commit e8ce3f0

Please sign in to comment.