mirror of
https://github.com/MillironX/beefblup.git
synced 2024-11-15 03:53:09 +00:00
26 lines
625 B
YAML
26 lines
625 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- develop
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
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'
|
|
- run: sudo apt-get install xvfb -y
|
|
- 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
|