fix typos #77
This file contains 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 | |
- actions/trigger/docs | |
tags: '*' | |
pull_request: | |
jobs: | |
Documenter: | |
runs-on: ubuntu-latest | |
env: | |
GKSwstype: "nul" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: ~1.7.0-beta3 | |
- name: Install Run.jl | |
run: julia -e 'using Pkg; pkg"add [email protected]"' | |
- name: Install dependencies | |
run: julia -e 'using Run; Run.prepare_docs()' | |
- name: Build and deploy | |
id: build-and-deploy | |
if: | | |
github.event_name == 'push' || ( | |
github.event_name == 'pull_request' && | |
!contains(github.head_ref, 'create-pull-request/') | |
) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.SSH_KEY }} | |
run: julia -e 'using Run; Run.docs()' | |
- name: Just build | |
if: steps.build-and-deploy.outcome == 'skipped' | |
run: julia -e 'using Run; Run.docs()' |