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:
parent
091b757b00
commit
74f15be400
1 changed files with 10 additions and 11 deletions
21
.github/workflows/Documentation.yml
vendored
21
.github/workflows/Documentation.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue