Skip to content

Merge pull request #175 from JuliaComputing/selective_lock #768

Merge pull request #175 from JuliaComputing/selective_lock

Merge pull request #175 from JuliaComputing/selective_lock #768

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
tags:
- v*
pull_request:
workflow_dispatch:
env:
JULIA_PKG_SERVER: https://internal.juliahub.com/
jobs:
build:
permissions:
contents: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: julia-actions/cache@v1
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: PumasAI/add-private-registry@main
with:
juliahub_token_encoded: ${{ secrets.JULIAHUB_TOKEN_ENCODED }}
private_registry_name: JuliaHubRegistry
private_registry_uuid: de52bcdf-fcb2-40cf-a397-3d64b64f4d9c
- name: Install dependencies
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
Pkg.add(PackageSpec(name = "ModelingToolkitStandardLibrary", url = "https://github.com/SciML/ModelingToolkitStandardLibrary.jl", rev = "main"));
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
run: DISPLAY=:0 xvfb-run --auto-servernum -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl