Skip to content

build(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /examples/react-app #4599

build(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /examples/react-app

build(deps): bump webpack-dev-middleware from 5.3.1 to 5.3.4 in /examples/react-app #4599

Workflow file for this run

name: doc-generator
on:
push:
branches:
- main
pull_request:
branches:
- '**'
concurrency:
group: doc-generator-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
cd website
npm ci
npm run build
build-and-deploy:
permissions:
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
cd website
npm ci
npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@22a6ee251d6f13c6ab1ecb200d974f1a6feb1b8d # v4.4.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: website/build # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch