Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
1d16842b
authored
Jun 03, 2026
by
Archer
Committed by
GitHub
Jun 03, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc action (#7048)
parent
d3390dc0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
.github/workflows/preview-docs-push.yml
+5
-5
pro
+1
-1
No files found.
.github/workflows/preview-docs-push.yml
View file @
1d16842b
...
@@ -127,10 +127,10 @@ jobs:
...
@@ -127,10 +127,10 @@ jobs:
echo "$KUBE_CONFIG" > "$KUBECONFIG_FILE"
echo "$KUBE_CONFIG" > "$KUBECONFIG_FILE"
chmod 600 "$KUBECONFIG_FILE"
chmod 600 "$KUBECONFIG_FILE"
kubectl --kubeconfig "$KUBECONFIG_FILE" set image deployment/fastgpt-doc
s
-preview \
kubectl --kubeconfig "$KUBECONFIG_FILE" set image deployment/fastgpt-doc-preview \
fastgpt-doc
s
-preview=ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}
fastgpt-doc-preview=ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}
kubectl --kubeconfig "$KUBECONFIG_FILE" annotate deployment/fastgpt-doc
s
-preview \
kubectl --kubeconfig "$KUBECONFIG_FILE" annotate deployment/fastgpt-doc-preview \
originImageName="ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}" --overwrite
originImageName="ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}" --overwrite
-
name
:
Format preview timestamp
-
name
:
Format preview timestamp
...
@@ -144,7 +144,7 @@ jobs:
...
@@ -144,7 +144,7 @@ jobs:
with
:
with
:
script
:
|
script
:
|
const prNumber = parseInt('${{ needs.check_pr_author.outputs.number }}');
const prNumber = parseInt('${{ needs.check_pr_author.outputs.number }}');
const marker = '<!-- fastgpt-doc
s
-preview -->';
const marker = '<!-- fastgpt-doc-preview -->';
const { data: comments } = await github.rest.issues.listComments({
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
owner: context.repo.owner,
...
@@ -159,7 +159,7 @@ jobs:
...
@@ -159,7 +159,7 @@ jobs:
const commentBody = `${marker}
const commentBody = `${marker}
✅ **Docs Preview Deployed!**
✅ **Docs Preview Deployed!**
🔗 [👀 Click here to visit preview](https://
pueuoharpgcl
.sealoshzh.site)
🔗 [👀 Click here to visit preview](https://
xcldnthwehkh
.sealoshzh.site)
\`\`\`
\`\`\`
ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}
ghcr.io/${{ github.repository_owner }}/fastgpt-docs-pr:${{ needs.check_pr_author.outputs.sha }}
...
...
pro
@
3284ae0b
Subproject commit
2e81134914c8db3b10051254721fbd8b0f566e17
Subproject commit
3284ae0be797e34adfa8d7877f8a0366f69b5e49
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment