Skip to content

Bump express from 4.18.2 to 4.19.2 in /website #303

Bump express from 4.18.2 to 4.19.2 in /website

Bump express from 4.18.2 to 4.19.2 in /website #303

Workflow file for this run

name: Build and Deployment
on:
workflow_dispatch:
push:
pull_request:
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
defaults:
run:
working-directory: website
jobs:
build:
name: Build and Deployment
runs-on: ubuntu-latest
env:
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
steps:
- uses: actions/checkout@v3
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
- uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: website/solutions/*
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: website/build