Skip to content

fix: typo

fix: typo #336

name: Build and Deploy
on:
push:
branches:
- master
pull_request:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ”πŸŸπŸ₯€
uses: actions/[email protected]
with:
persist-credentials: false
- name: Use Node.js πŸ˜‚
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Install and Build 🏭
run: |
npm i
npm run pre-build
npm run build-ci
env:
LESSON_BUILDER_ENV: production
- name: Deploy πŸ“¦
if: ${{ github.event_name == 'push' }}
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: out