🚨 Update GitHub actions #223
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: Documentation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: '*' | |
| pull_request: | |
| jobs: | |
| docs: | |
| name: Documenter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Update apt-get | |
| run: | | |
| sudo apt-get update | |
| - name: Install ImageMagick | |
| run: | | |
| sudo apt-get install -y imagemagick | |
| - name: Install ansitoimg | |
| run: | | |
| sudo apt-get install pipx | |
| pipx ensurepath | |
| pipx install ansitoimg | |
| - name: Install Luatex | |
| run: | | |
| sudo apt-get install -y \ | |
| ghostscript \ | |
| texlive \ | |
| texlive-latex-base \ | |
| texlive-latex-recommended \ | |
| texlive-latex-extra \ | |
| texlive-luatex | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: '1' | |
| - uses: julia-actions/cache@v2 | |
| - uses: julia-actions/julia-buildpkg@v1 | |
| - uses: julia-actions/julia-docdeploy@releases/v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |