Skip to content

Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website #61

Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website

Bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website #61

name: Build React Site & Docs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm i
cd ./website
npm i
- name: Build Docs
run: npm run docs
- name: Deploy
run: |
cd ./website
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACCESS_TOKEN }}
repository: ${{ github.repository }}