1
0
Fork 0
mirror of https://github.com/MillironX/beefblup.git synced 2024-11-15 03:53:09 +00:00
beefblup/.github/workflows/Documentation.yml

27 lines
625 B
YAML
Raw Normal View History

2021-07-07 14:46:08 +00:00
name: Documentation
2021-07-07 14:42:20 +00:00
on:
push:
branches:
- main
- develop
pull_request:
branches:
- master
2021-07-07 14:47:05 +00:00
workflow_dispatch:
2021-07-07 14:42:20 +00:00
jobs:
build:
runs-on: ubuntu-latest
2021-08-10 01:46:18 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DISPLAY: ':99.0'
2021-07-07 14:42:20 +00:00
steps:
2021-08-10 01:46:18 +00:00
- 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