Integrated ScatteringPlot into ScatteringTransform.jl and other updates #10
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: | |
workflow_dispatch: | |
push: | |
paths: # rebuild the docs when the version changes or the docs change | |
- docs/* | |
- Project.toml | |
pull_request: # run when pull requests are made | |
paths: | |
- docs/* | |
- Project.toml | |
jobs: | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: '1.7' | |
- name: Install dependencies | |
run: | | |
sudo apt install libxt6 libxrender1 libxext6 libgl1-mesa-glx libqt5widgets5 | |
- run: | | |
julia --project=docs -e ' | |
using Pkg | |
Pkg.instantiate() | |
Pkg.develop(PackageSpec(path=pwd())) | |
Pkg.instantiate()' | |
- name: Build and deploy | |
run: julia --project=docs docs/make.jl | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |