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

[FIX] Implemented logic to handle cases where no diagnosis/assessment… #103

[FIX] Implemented logic to handle cases where no diagnosis/assessment…

[FIX] Implemented logic to handle cases where no diagnosis/assessment… #103

Workflow file for this run

name: deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node env
uses: actions/setup-node@v4.0.1
with:
node-version: 18
- name: Create .env file
run: |
echo -e "API_QUERY_URL=${{ vars.API_QUERY_URL }}\nIS_FEDERATION_API=${{ vars.IS_FEDERATION_API }}" > .env
- name: Install dependencies
run: yarn
- name: Generate
run: yarn generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist