diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2878986..dfcd96a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,9 +12,12 @@ jobs: # Create latest docs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # fetch all commits/branches + - name: Checkout + uses: actions/checkout@v4 + - name: Setup doc deploy + run: | + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' - name: Set up Conda uses: conda-incubator/setup-miniconda@v3 with: @@ -22,10 +25,6 @@ jobs: - name: Install documentation dependencies run: | pip install -r docs/requirements.txt - - name: Setup doc deploy - run: | - git config user.name 'github-actions[bot]' - git config user.email 'github-actions[bot]@users.noreply.github.com' - name: Deploy docs with mike 🚀 run: | mkdocs build