Skip to content

issue #46: update search sources in debug panel #24

issue #46: update search sources in debug panel

issue #46: update search sources in debug panel #24

name: Build and Deploy to GitHub Pages
on:
push:
jobs:
lint-test:
uses: ai-cfia/github-workflows/.github/workflows/workflow-lint-test-node.yml@main
build-and-deploy:
runs-on: ubuntu-latest
env:
NODE_VERSION: 18
PUBLISH_DIR: ./build
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
env:
REACT_APP_BACKEND_URL: ${{ secrets.REACT_APP_BACKEND_URL }}
REACT_APP_BASENAME : ${{ secrets.REACT_APP_BASENAME }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ env.PUBLISH_DIR }}