Skip to content

3D Camera Orientation Widget #4444

3D Camera Orientation Widget

3D Camera Orientation Widget #4444

Workflow file for this run

name: Docs build and deploy
on:
push:
branches:
- main
- master
- breaking-release
tags: '*'
pull_request:
branches:
- main
- master
- breaking-release
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
# NOTE: Python is necessary for the pre-rendering (minification) step
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install binary dependencies
run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
# NOTE: Here you can install dependencies such as matplotlib if you use
# packages such as PyPlot.
# - run: pip install matplotlib
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: '1'
- name: Build and deploy docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
cd docs;
DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24'
julia --color=yes makedocs.jl
- name: Upload site as artifact
uses: actions/upload-artifact@v3
with:
name: Docs build
path: ./docs/__site