Skip to content

Bump follow-redirects from 1.14.9 to 1.15.4 #74

Bump follow-redirects from 1.14.9 to 1.15.4

Bump follow-redirects from 1.14.9 to 1.15.4 #74

Workflow file for this run

name: Lite Deploy
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install the dependencies
run: |
python -m pip install -U pip setuptools jupyterlab~=3.3 jupyterlite
python -m pip install -e .
jupyter labextension develop . --overwrite
- name: Build the JupyterLite site
run: |
mkdir -p ./docs/files
cp ./samples/beam.vtk ./docs/files/
cp ./samples/cow.vtp ./docs/files/
cp ./samples/diskout-stream-binary-zlib.vtp ./docs/files/
cp ./samples/piston.vtu ./docs/files/
cp ./samples/mesh/abaqus.inp ./docs/files/
cp ./samples/mesh/ansys_mesh.msh ./docs/files/
cp ./samples/mesh/gmsh_mesh.msh ./docs/files/
cp ./samples/mesh/NETGEN_mesh.vol ./docs/files/
cd docs
jupyter lite build
cp -R ./_output/extensions ./_output/lab
- name: Upload (dist)
uses: actions/upload-artifact@v2
with:
name: jupyterview-demo-dist-${{ github.run_number }}
path: ./docs/_output
deploy:
if: github.ref == 'refs/heads/master'
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/download-artifact@v2
with:
name: jupyterview-demo-dist-${{ github.run_number }}
path: ./dist
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist