name: Documentation on: push: branches: - 'master' - 'develop' - 'release/.*' tags: '*' pull_request: jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: julia-version: [1.3.0] julia-arch: [x86] os: [ubuntu-latest] steps: - uses: actions/checkout@v1.0.0 - uses: julia-actions/setup-julia@latest with: version: ${{ matrix.julia-version }} - name: Install dependencies run: | julia ci_prep.jl; julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - name: Build and deploy env: # https://github.com/JuliaDocs/Documenter.jl/issues/1177 # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key run: julia --project=docs/ --color=yes docs/make.jl