Skip to content

Add randomise and clear buttons #60

Add randomise and clear buttons

Add randomise and clear buttons #60

name: Build and deploy to GHPages
on:
push:
branches:
- Web
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v5
with:
# Make sure to set a version number!
version: 'latest'
# This is the name of the cache folder.
# The cache folder will be placed in the build directory,
# so make sure it doesn't conflict with anything!
actions-cache-folder: 'emsdk-cache'
- name: Build
run: ./scripts/build.sh
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: www