Skip to content

Commit 0566391

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 537c64a + a8dd7f2 commit 0566391

4 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: eploy via FTP
2+
3+
on:
4+
push:
5+
branches:
6+
- master # 监听分支提交
7+
paths:
8+
- "facebook/**"
9+
workflow_dispatch:
10+
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Upload to server via FTP
21+
uses: SamKirkland/FTP-Deploy-Action@v4.3.6
22+
with:
23+
server: ${{ secrets.FTP_SERVER }}
24+
username: ${{ secrets.FTP_USERNAME }}
25+
password: ${{ secrets.FTP_PASSWORD }}
26+
protocol: ftp
27+
port: ${{ secrets.FTP_PORT }}
28+
local-dir: facebook/image/warn.svg # 要上传的本地目录
29+
server-dir: /www/wwwroot/myproject # 目标服务器目录

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
/bi.py
1212
/pi.py
1313
/threads/regeditfile.reg
14+
/FBreptilever.spec

facebook/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
regeditfile.reg
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyinstaller -F -w --exclude-module PySide6 --add-data "facebook\image\FBre.ico;image" --add-data "facebook\image\facebookLogo.svg;image" --add-data "facebook\image\warn.svg;image" --add-data "facebook\FB_loginwin.py;." --add-data "facebook\authorization.py;." --add-data "facebook\AuthorizeManage.dll;." --add-data "facebook\FB_win.py;." --add-data "facebook\FB_middle.py;." --add-data "facebook\FBmain.py;." --add-data "facebook\layout.py;." --add-data "facebook\like.py;." --add-data "facebook\database_manager.py;." --add-data "facebook\FB_status.py;." --version-file facebook\file_version_info.txt facebook\FBreptilever.py -i facebook\image\FBre.ico

0 commit comments

Comments
 (0)