mirror of
https://github.com/MillironX/XAM.jl.git
synced 2024-11-23 18:29:56 +00:00
34 lines
1 KiB
YAML
34 lines
1 KiB
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
- 'develop'
|
|
- 'release/.*'
|
|
tags: '*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
julia-version: [1.3.0]
|
|
julia-arch: [x86]
|
|
os: [ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v1.0.0
|
|
- uses: julia-actions/setup-julia@latest
|
|
with:
|
|
version: ${{ matrix.julia-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
julia ci_prep.jl;
|
|
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
|
|
- name: Build and deploy
|
|
env:
|
|
# https://github.com/JuliaDocs/Documenter.jl/issues/1177
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
|
|
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
|
|
run: julia --project=docs/ --color=yes docs/make.jl
|