Bump eslint from 8.42.0 to 8.43.0 (#386) #96
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: GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
deployment: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
environment: production | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install | |
run: npm ci | |
- name: Build and Deploy | |
env: | |
NODE_ENV: production | |
# Remove this line if you would like to skip using google analytics | |
REACT_APP_GA_TRACKING_ID: UA-68649021-1 | |
# This is set automatically by github | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.name "Automated" | |
git config user.email "[email protected]" | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/mldangelo/personal-site.git | |
npm run deploy |