Skip to content

Use absolute URL for Scivision logo in README #786

Use absolute URL for Scivision logo in README

Use absolute URL for Scivision logo in README #786

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/[email protected]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: frontend/build
clean: true