Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Deploy

Deploy #642

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
schedule:
- cron: '0 6 * * *'
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
env:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
CONFIG: ${{ secrets.CONFIG }}
MOCK_DATA: ${{ secrets.MOCK_DATA }}
USE_MOCK_DATA: ${{ secrets.USE_MOCK_DATA }}
run: yarn build
- name: Deploy
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: out