[fix] tell who you are #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy in Dev Mode | |
on: | |
push: | |
branches: [ "main", "feat/cd-gh-pages"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.12.0' | |
- name: install dependencies | |
run: | | |
npm install | |
npm install gh-pages --save-dev | |
- name: config git | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Build and Deploy React app to GitHub Pages | |
run: npm run deploy |