Skip to content

Deploy

Deploy #5727

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: "0 * * * *" # Run every hour
name: Deploy
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: 📥 Monorepo install
uses: ./.github/actions/pnpm-install
- name: 🕷️ Scrape
shell: bash
run: pnpm run scrape
- name: 🔨 Build
shell: bash
run: pnpm run build
- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build # The folder the action should deploy.