Add clang 21 to linux CI and update actions/checkout (#2869) #232
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: gh-pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Basic GitHub action setup | |
| uses: actions/checkout@v2 | |
| - name: Set mamba environment | |
| uses: mamba-org/setup-micromamba@main | |
| with: | |
| environment-file: docs/ghp_environment.yml | |
| environment-name: xtensor-doc | |
| init-shell: bash | |
| cache-downloads: true | |
| - name: Run doxygen | |
| working-directory: docs | |
| run: doxygen | |
| - name: Deploy to GitHub Pages | |
| if: success() | |
| uses: crazy-max/ghaction-github-pages@v2 | |
| with: | |
| target_branch: gh-pages | |
| build_dir: docs/html | |
| jekyll: false | |
| keep_history: false | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |