Skip to content

Two problem generators similar in structure: "Find Coefficient of Term" and "Evaluate Probability of Choice" Generators #132

Two problem generators similar in structure: "Find Coefficient of Term" and "Evaluate Probability of Choice" Generators

Two problem generators similar in structure: "Find Coefficient of Term" and "Evaluate Probability of Choice" Generators #132

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