Skip to content

jt/updating test styles #122

jt/updating test styles

jt/updating test styles #122

Workflow file for this run

name: Deploy App
on:
push:
branches:
- master # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
# Install dependencies with npm
- name: Install dependencies
run: |
cd app
npm ci
# Build the project and add .nojekyll file to supress default behaviour
- name: Build
run: |
cd app
npm run build
touch ./dist/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist