Skip to content

Commit 005551d

Browse files
authored
chore: specify outDir of next-sitemap.config.js (#120)
* chore: specify outDir of next-sitemap.config.js * chore(ci/cd): preview
1 parent f7d8d05 commit 005551d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/preview.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Preview Home Page
22

33
on:
44
workflow_dispatch:
5-
pull_request_target:
6-
paths:
7-
- 'projects/fastgpt/**'
5+
pull_request:
86

97
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
108
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.

next-sitemap.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
siteUrl: process.env.NEXT_PUBLIC_HOME_URL || 'https://fastgpt.io',
44
generateRobotsTxt: true,
55
sitemapSize: 7000,
6+
outDir: './out',
67

78
// Additional paths to include in the sitemap
89
additionalPaths: async (config) => {

0 commit comments

Comments
 (0)