Skip to content

Fixing broken hyperlink (#642) #912

Fixing broken hyperlink (#642)

Fixing broken hyperlink (#642) #912

Workflow file for this run

name: Build frontend
on: [push, pull_request]
jobs:
build-and-deploy-if-main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '16.15.1'
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Scivision.Py
run: |
pip install .
- name: Install node packages
working-directory: frontend
run: npm ci
- name: Build
working-directory: frontend
env:
CI: ""
run: |
npm run build
pwd
ls
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.2.2
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: frontend/build
clean: true