Skip to content

Run

Run #106

Workflow file for this run

name: Run
on:
push:
branches:
- main
schedule:
- cron: '0 0 * * 6'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: yarn install
- run: yarn build
- run: yarn scrape
env:
NODE_ENV: production
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: output
commit_message: 'chore: deploy to GitHub Pages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload traces
if: failure()
uses: actions/upload-artifact@v3
with:
name: traces
path: traces/*.json