Skip to content

Add className to element <p> in signUp pages directory and modify relevant files #41

Add className to element <p> in signUp pages directory and modify relevant files

Add className to element <p> in signUp pages directory and modify relevant files #41

Workflow file for this run

name: Deploy on PR Merge
on:
push:
branches:
- master
pull_request:
types:
- closed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Check for Changes in frontEnd folder
run: |
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^frontEnd/' &> /dev/null; then
echo "Changes detected in the frontEnd folder. Proceeding with deployment."
else
echo "No changes in the frontEnd folder. Skipping deployment."
fi
- name: Set CI Environment Variable
run: echo "CI=false" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 14
- name: Set git configuration
run: git config --global user.email rajpunjabi47@yahoo.in && git config --global user.name "Raj Punjabi"
- name: Install Dependencies
run: |
cd frontEnd
npm install --save gh-pages
- name: build application
run: |
cd frontEnd
npm run build
- name: Run Deploy Script
run: |
cd frontEnd
npm run deploy