1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-12-22 00:58:17 +00:00

New documentation CI approach

This commit is contained in:
Thomas A. Christensen II 2021-08-09 20:46:18 -05:00
parent 091b757b00
commit 74f15be400
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -13,15 +13,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISPLAY: ':99.0'
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.5'
- uses: GabrielBB/xvfb-action@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- run: sudo apt-get install xvfb -y
with:
version: '1.5'
- run: xvfb-run --auto-servernum julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- run: xvfb-run --auto-servernum julia --project=docs/ docs/make.jl