build(deps): bump express from 4.19.2 to 4.21.0 in /website #212
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: Website | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- .github/workflows/website.yml | |
- website/** | |
- package.json | |
- yarn.lock | |
pull_request: | |
branches: | |
- master | |
defaults: | |
run: | |
working-directory: website | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⬇️ Checkout Repo | |
uses: actions/checkout@v4 | |
- name: ⬢ Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
cache: yarn | |
- name: 📦 Install Packages | |
run: yarn install --frozen-lockfile | |
- name: 🌐 Build Website | |
run: yarn build | |
# Popular action to deploy to GitHub Pages: | |
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus | |
- name: ⬆️ Deploy to GitHub Pages | |
# Deploy only upon pushes to master branch | |
if: github.event_name == 'push' | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Build output to publish to the `gh-pages` branch: | |
publish_dir: website/build |