feat: remove AI assistant #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- main | |
env: | |
REACT_APP_POLLING_INTERVAL: 300000 | |
REACT_APP_DOCWHIZZ_TRAEFIK_EE_USER_ID: "${{ secrets.DOCWHIZZ_TRAEFIK_EE_USER_ID }}" | |
REACT_APP_DOCWHIZZ_TRAEFIK_PROXY_USER_ID: "${{ secrets.DOCWHIZZ_TRAEFIK_PROXY_USER_ID }}" | |
jobs: | |
doc: | |
name: Build and publish assets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: make deps | |
- name: Build | |
run: make build | |
- name: Generate assets | |
run: make static-assets | |
# https://github.com/marketplace/actions/github-pages | |
- name: Deploy to GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: static-assets | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |