Skip to content

Merge pull request #405 from code-dot-org/ben/guide-continue-icon-click #69

Merge pull request #405 from code-dot-org/ben/guide-continue-icon-click

Merge pull request #405 from code-dot-org/ben/guide-continue-icon-click #69

Workflow file for this run

name: Build and Deploy
on:
pull_request:
push:
branches:
- main
jobs:
build_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.17.1'
- name: Install and Build
run: |
yarn install --frozen-lockfile
yarn test
yarn build
cp -r public/* dist
- name: Deploy
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist