Skip to content

fix: installed babel/core as dev dependency #3

fix: installed babel/core as dev dependency

fix: installed babel/core as dev dependency #3

Workflow file for this run

name: Build & commit to gh-pages
on:
push:
branches:
- master # Change this to the branch you want to trigger the deployment from
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Build and deploy
run: |
npm install
npm run build
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git checkout --orphan gh-pages
git --work-tree dist add --all
git --work-tree dist commit -m "Deploy"
git push origin HEAD:gh-pages --force