Skip to content

Commit

Permalink
build docs on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
colinxs authored and Colin Summers committed Jan 16, 2020
1 parent b893c67 commit 9738cd7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Documentation

on:
push:
branches:
- master
on: [push, pull_request]

jobs:
build:
Expand All @@ -21,8 +18,8 @@ jobs:
arch: ${{ matrix.arch }}
- name: Add registry
run: |
julia --color=yes --project -e 'using Pkg; Registry.add(RegistrySpec(url="https://github.com/Lyceum/LyceumRegistry.git"))'
julia --color=yes --project -e 'using Pkg; Registry.add(RegistrySpec(url="https://github.com/JuliaRegistries/General.git"))'
julia --color=yes --project -e 'using Pkg; Registry.add(RegistrySpec(url = "https://github.com/Lyceum/LyceumRegistry.git"))'
julia --color=yes --project -e 'using Pkg; Registry.add(RegistrySpec(url = "https://github.com/JuliaRegistries/General.git"))'
shell: bash
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
Expand Down

0 comments on commit 9738cd7

Please # to comment.