Skip to content

Commit 4b75f31

Browse files
committed
修改发布脚本,微调内容
1 parent 0979ebe commit 4b75f31

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/deploy.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,18 @@ jobs:
4949
--minify \
5050
-b 'https://sec.cafe/handbook/'
5151
- name: upload code
52-
uses: garygrossgarten/github-action-scp@release
52+
uses: appleboy/scp-action@v0.1.7
5353
with:
54-
local: public/.
55-
remote: /data/www/handbook.sec.cafe/
54+
source: public/*.*
55+
target: /tmp/
56+
host: ${{ secrets.DEPLOY_HOST }}
57+
port: ${{secrets.DEPLOY_HOST_PORT}}
58+
username: ${{ secrets.DEPLOY_HOST_USER}}
59+
key: ${{ secrets.DEPLOY_PRIVATE_KEY}}
60+
- name: deploy ui
61+
uses: garygrossgarten/github-action-ssh@release
62+
with:
63+
command: cd /data/www/handbook.sec.cafe/;rm -rf *;mv /tmp/public/* .;rm -rf /tmp/public
5664
host: ${{ secrets.DEPLOY_HOST }}
5765
port: ${{secrets.DEPLOY_HOST_PORT}}
5866
username: ${{ secrets.DEPLOY_HOST_USER}}

content/security_research/ai_security/llm_security/attack.md

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ keywords:
2323
- [金融行业的人工智能安全风险研究](https://www.freebuf.com/articles/paper/378893.html)
2424
- [大语言模型 (Large Language Model,简称LLM) 安全之攻击面初探](https://mp.weixin.qq.com/s/GMmbyMvqKxm0z1HPQeTgag)
2525
- [实战解读:Llama 3 安全性对抗分析](https://mp.weixin.qq.com/s/3OqoJIqSGLIMa1dVzXXFkQ)
26+
- [实战解读:Llama Guard 3 & Prompt Guard](https://mp.weixin.qq.com/s/jgwn_o0EUmvtNUhGswCDng)
27+
2628

2729
## 测试框架与方法
2830
- [针对大语言模型的通用对抗性攻击](https://www.freebuf.com/articles/paper/375497.html)

content/security_research/ai_security/llm_security/defense.md

-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ keywords:
3232
- [vivo对生成式人工智能的安全思考和实践](#)
3333
- [OpenAI安全系统负责人长文梳理:大模型的对抗攻击与防御](https://mp.weixin.qq.com/s/t87IOi6r4N-c-StI9CPy_A)
3434
- [Meta开源大模型的安全实践](https://mp.weixin.qq.com/s/-mHiEfImfZBgotDgRnKU5w)
35-
- [实战解读:Llama 3 安全性对抗分析](https://mp.weixin.qq.com/s/3OqoJIqSGLIMa1dVzXXFkQ)
36-
- [实战解读:Llama Guard 3 & Prompt Guard](https://mp.weixin.qq.com/s/jgwn_o0EUmvtNUhGswCDng)
3735

3836
## 工具
3937
- [Garak](https://docs.garak.ai/garak/) 一个用于大语言模型 (LLM) 漏洞扫描的 Python 包

0 commit comments

Comments
 (0)