Skip to content

try without JuliaSimRegistry #34

try without JuliaSimRegistry

try without JuliaSimRegistry #34

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/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg;
ENV["DISPLAY"] = "0";
Pkg.setprotocol!(; domain = "github.com", protocol = "ssh");
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 -s '-screen 0 1024x768x24' julia --project=docs/ docs/make.jl