Skip to content

Commit

Permalink
fix zblog action
Browse files Browse the repository at this point in the history
  • Loading branch information
rsonghuster committed Mar 3, 2022
1 parent bc0acfc commit 1105ccb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion update.list
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web-framework/php/wordpress
web-framework/php/zblog
2 changes: 1 addition & 1 deletion web-framework/php/zblog/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-zblog
Provider:
- 阿里云
Version: 1.1.20
Version: 1.1.21
Description: 快速部署一个 Zblog 框架到阿里云函数计算
HomePage: https://github.com/devsapp/start-web-framework
Tags:
Expand Down
2 changes: 2 additions & 0 deletions web-framework/php/zblog/src/s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services:
component: fc # 组件名称
actions:
post-deploy:
- run: s framework nas init
path: ./
- run: s framework nas upload -r code/Z-Blog/ /mnt/auto/Z-Blog # 请注意这里上传的路径,如果之前已经挂载了这个nas,并且上传过这个文件夹,会导致文件的覆盖
path: ./
props: # 组件的属性值
Expand Down

0 comments on commit 1105ccb

Please sign in to comment.