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
09b63653
authored
Sep 13, 2023
by
Archer
Committed by
GitHub
Sep 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: action cache (#300)
parent
eb2e383c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
.github/workflows/fastgpt-image.yml
+9
-1
README.md
+1
-1
client/pnpm-lock.yaml
+0
-0
client/src/pages/kb/detail/components/FileCard.tsx
+4
-3
No files found.
.github/workflows/fastgpt-image.yml
View file @
09b63653
...
...
@@ -25,6 +25,13 @@ jobs:
uses
:
docker/setup-buildx-action@v2
with
:
driver-opts
:
network=host
-
name
:
Cache Docker layers
uses
:
actions/cache@v2
with
:
path
:
/tmp/.buildx-cache
key
:
${{ runner.os }}-buildx-${{ github.sha }}
restore-keys
:
|
${{ runner.os }}-buildx-
-
name
:
Login to GitHub Container Registry
uses
:
docker/login-action@v2
with
:
...
...
@@ -38,7 +45,6 @@ jobs:
else
echo "DOCKER_REPO_TAGGED=ghcr.io/${{ github.repository_owner }}/fastgpt:${{ github.ref_name }}" >> $GITHUB_ENV
fi
-
name
:
Build and publish image for main branch or tag push event
env
:
DOCKER_REPO_TAGGED
:
${{ env.DOCKER_REPO_TAGGED }}
...
...
@@ -50,6 +56,8 @@ jobs:
--label "org.opencontainers.image.description=fastgpt image" \
--label "org.opencontainers.image.licenses=MIT" \
--push \
--cache-from=type=local,src=/tmp/.buildx-cache \
--cache-to=type=local,dest=/tmp/.buildx-cache \
-t ${DOCKER_REPO_TAGGED} \
-f Dockerfile \
.
...
...
README.md
View file @
09b63653
...
...
@@ -93,7 +93,6 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
-
[
FastGPT 常见问题
](
https://kjqvjse66l.feishu.cn/docx/HtrgdT0pkonP4kxGx8qcu6XDnGh
)
-
[
docker 部署教程视频
](
https://www.bilibili.com/video/BV1jo4y147fT/
)
-
[
公众号接入视频教程
](
https://www.bilibili.com/video/BV1xh4y1t7fy/
)
-
[
FastGPT 知识库演示
](
https://www.bilibili.com/video/BV1Wo4y1p7i1/
)
## 💪 相关项目
...
...
@@ -105,6 +104,7 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b
## 🤝 第三方生态
-
[
OnWeChat 个人微信/企微机器人
](
https://doc.fastgpt.run/docs/use-cases/onwechat/
)
-
[
luolinAI: 企微机器人,开箱即用
](
https://github.com/luolin-ai/FastGPT-Enterprise-WeChatbot
)
## 🌟 Star History
...
...
client/pnpm-lock.yaml
View file @
09b63653
This diff is collapsed.
Click to expand it.
client/src/pages/kb/detail/components/FileCard.tsx
View file @
09b63653
...
...
@@ -316,9 +316,10 @@ const FileCard = ({ kbId }: { kbId: string }) => {
<
Box
>
{
t
(
'common.Delete'
)
}
</
Box
>
</
Flex
>
),
onClick
:
openConfirm
(()
=>
{
onDeleteFile
(
file
.
id
);
})
onClick
:
()
=>
openConfirm
(()
=>
{
onDeleteFile
(
file
.
id
);
})()
}
]
}
/>
...
...
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