Skip to content

Merge pull request #19 from kartikvirendrar/patch-1 #44

Merge pull request #19 from kartikvirendrar/patch-1

Merge pull request #19 from kartikvirendrar/patch-1 #44

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- name: Install base packages 🔧
run: |
npm ci
- name: Install and Build 🔧
run: |
npm install
npm run build
working-directory: example
env:
CI: false
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: example/build