Skip to content

Commit 30f2ec2

Browse files
committed
chore(workflow): 调整Facebook部署工作流
1 parent 5b264b5 commit 30f2ec2

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/DeployFacebook.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ on:
44
push:
55
branches:
66
- master # 监听分支提交
7-
# paths:
8-
# - "facebook/**"
7+
tags:
8+
- v*
9+
paths:
10+
- "facebook/**"
911
workflow_dispatch:
1012

1113

@@ -48,3 +50,16 @@ jobs:
4850
port: ${{ secrets.FTP_PORT }}
4951
local-dir: release/
5052
server-dir: /UpData/FBfans/
53+
security:
54+
exclude: |
55+
release/*.json
56+
57+
- name: Upload Release Asset
58+
uses: actions/upload-release-asset@v1.0.1
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
with:
62+
upload_url: ${{ steps.create_release.outputs.upload_url }}
63+
asset_path: release/FBreptilever.zip
64+
asset_name: FBreptilever.zip
65+
asset_content_type: application/zip

0 commit comments

Comments
 (0)