1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-11-14 11:33:10 +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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISPLAY: ':99.0'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest - uses: julia-actions/setup-julia@latest
with: - run: sudo apt-get install xvfb -y
version: '1.5' with:
- uses: GabrielBB/xvfb-action@v1 version: '1.5'
- name: Install dependencies - run: xvfb-run --auto-servernum julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - run: xvfb-run --auto-servernum julia --project=docs/ docs/make.jl
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl