Skip to content

New home (#77)

New home (#77) #32

Workflow file for this run

name: github pages
on:
workflow_dispatch:
push:
paths:
- "projects/fastgpt/**"
branches:
- "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
env:
NEXT_PUBLIC_HOME_URL: https://tryfastgpt.ai
NEXT_PUBLIC_USER_URL: https://cloud.fastgpt.in
run: |
cd projects/fastgpt
npm install
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_PAT }}
publish_dir: ./projects/fastgpt/out