Skip to content

Generate and publish report #1064

Generate and publish report

Generate and publish report #1064

Workflow file for this run

name: Generate and publish report
on:
workflow_dispatch:
push:
branches:
- master
schedule:
# Runs every day at 3am
- cron: '0 3 * * *'
jobs:
api-report-master:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 16
- name: Build
run: |
yarn --frozen-lockfile
yarn build
- name: Generate Report
run: |
yarn run generate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy to Github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out