update Project.toml (#196) #44
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: Docs | |
on: | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
julia_version: '1.7.2' | |
jobs: | |
deploy-docs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
DOCUMENTER_KEY: ${{secrets.DOCUMENTER_KEY}} | |
steps: | |
- name: checkout commit | |
uses: actions/checkout@v2 | |
- name: set up Julia | |
uses: julia-actions/setup-julia@latest | |
with: | |
version: ${{ env.julia_version }} | |
- name: build package | |
uses: julia-actions/julia-buildpkg@latest | |
- name: install dependencies | |
run: julia --project --color=yes -e 'import Pkg; Pkg.add.(["Documenter", "XtalsPyTools"])' | |
- name: build and deploy docs | |
run: julia --project --color=yes ./docs/make.jl | |