Skip to content

Merge pull request #29 from GDSC-REC/development #7

Merge pull request #29 from GDSC-REC/development

Merge pull request #29 from GDSC-REC/development #7

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build the app
run: npm run build
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
BANANA_TROUBLE: ${{ secrets.BANANA_TROUBLE }}
BRANCH: gh-pages
FOLDER: build