Skip to content

Update Documentation.yml #16

Update Documentation.yml

Update Documentation.yml #16

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
julia-version: '1.9'
- name: Install dependencies
run: |
julia -e 'using Pkg; Pkg.add(url="https://github.com/cbernalz/UCIWWEIHR.jl.git")'
julia -e 'using Pkg; Pkg.instantiate()'
- name: Build documentation
run: julia docs/make.jl
- name: Upload documentation
uses: actions/upload-artifact@v2
with:
name: github-pages
path: docs/build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
token: ${{ secrets.DOCUMENTER_KEY }}