Skip to content

feat: add sync-collection-configs workflow #2919

feat: add sync-collection-configs workflow

feat: add sync-collection-configs workflow #2919

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: ./web
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: 18
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install
run: npm ci --prefer-offline --no-audit
- name: Prefetch
run: npm run prefetch
- name: Build 🏗️
run: npm run build
env:
SENTRY_DSN: https://[email protected]/6588620
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
TIDBCLOUD_HOST: tidbcloud.com
- name: Deploy to ossinsight.io 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: web/build # The folder the action should deploy.