diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 340395e..82405f8 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -2,9 +2,7 @@ name: Preview Home Page on: workflow_dispatch: - pull_request_target: - paths: - - 'projects/fastgpt/**' + pull_request: # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. diff --git a/next-sitemap.config.js b/next-sitemap.config.js index 43a8b83..782cb4b 100644 --- a/next-sitemap.config.js +++ b/next-sitemap.config.js @@ -3,6 +3,7 @@ module.exports = { siteUrl: process.env.NEXT_PUBLIC_HOME_URL || 'https://fastgpt.io', generateRobotsTxt: true, sitemapSize: 7000, + outDir: './out', // Additional paths to include in the sitemap additionalPaths: async (config) => {