Skip to content

Generate and publish report #1119

Generate and publish report

Generate and publish report #1119

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/github-pages-deploy-action@4.1.7
with:
branch: gh-pages
folder: out