mirror of
https://github.com/MillironX/beefblup.git
synced 2024-11-13 03:03:08 +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:
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue