Skip to content

update Project.toml (#196) #44

update Project.toml (#196)

update Project.toml (#196) #44

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