Merge pull request #367 from abkfenris/logos #832
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: Build and Deploy docs | |
| on: [push, pull_request] | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - uses: prefix-dev/setup-pixi@v0.8.14 | |
| with: | |
| pixi-version: v0.51.0 | |
| cache: true | |
| - name: Build documentation | |
| shell: bash -l {0} | |
| run: | | |
| pixi run html | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@3.7.1 | |
| if: github.ref == 'refs/heads/source' && github.repository == 'oceanhackweek/oceanhackweek.github.io' | |
| with: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH: master | |
| FOLDER: _build/html | |
| CLEAN: false |