Skip to content

Merge pull request #41 from ENGINEER-NITK/hritik #59

Merge pull request #41 from ENGINEER-NITK/hritik

Merge pull request #41 from ENGINEER-NITK/hritik #59

Workflow file for this run

name: Deploy static content to Pages
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install Dependencies
run: npm install
- name: Set up Git user
run: |
git config user.email "[email protected]"
git config user.name "Engineer-Github"
- name: Build and Deploy
run: |
npm run build
npm install gh-pages --save-dev
npx gh-pages -d build