Skip to content

Merge pull request #12 from slimgroup/dim #46

Merge pull request #12 from slimgroup/dim

Merge pull request #12 from slimgroup/dim #46

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags: '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
- name: Add SLIM registery
run: |
julia --color=yes --check-bounds=yes -e 'using Pkg;Pkg.update();Pkg.Registry.add(RegistrySpec(url="https://github.com/slimgroup/SLIMregistryJL.git"))'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Install devito
run: |
python -m pip install --upgrade pip
pip install devito
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
run: julia --project=docs/ docs/make.jl