Merge pull request #4773 from rgommers/update-docs-yml

Update GitHub Actions used in docs.yml
This commit is contained in:
Martin Kroeker 2024-06-29 17:47:17 +02:00 committed by GitHub
commit 8cbb797199
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -9,15 +9,15 @@ jobs:
if: "github.repository == 'OpenMathLib/OpenBLAS'" if: "github.repository == 'OpenMathLib/OpenBLAS'"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- uses: actions/setup-python@v2 - uses: actions/setup-python@v5
with: with:
python-version: "3.10" python-version: "3.10"
- run: pip install mkdocs mkdocs-material - run: pip install mkdocs mkdocs-material
# mkdocs gh-deploy command only builds to the top-level, hence building then deploying ourselves # mkdocs gh-deploy command only builds to the top-level, hence building then deploying ourselves
- run: mkdocs build - run: mkdocs build
- name: Deploy docs - name: Deploy docs
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
if: ${{ github.ref == 'refs/heads/develop' }} if: ${{ github.ref == 'refs/heads/develop' }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}