Skip to content

Merge pull request #9 from kartikvirendrar/master #36

Merge pull request #9 from kartikvirendrar/master

Merge pull request #9 from kartikvirendrar/master #36

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