Skip to content

Commit

Permalink
actions - Julia documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pazner authored and jeremylt committed Nov 9, 2020
1 parent 3b94e9f commit 97e6062
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/julia-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Julia Documentation

on:
push:
branches:
- main
tags: '*'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
- name: Install dependencies
run: |
cd julia/LibCEED.jl
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.build()'
- name: Build and deploy
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: |
cd julia/LibCEED.jl
julia --project=docs/ docs/make.jl
1 change: 1 addition & 0 deletions julia/LibCEED.jl/docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ makedocs(sitename="LibCEED.jl Docs",
deploydocs(
repo="github.com/CEED/libCEED-julia-docs.git",
devbranch="main",
push_preview=true,
)

0 comments on commit 97e6062

Please sign in to comment.