-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e69f856
commit 2844cf1
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ jobs: # 工作流程中的任务 | |
uses: actions/checkout@v2 # 使用actions/checkout动作 | ||
|
||
- name: Zip the worker file # 将_worker.js文件打包成worker.zip | ||
run: zip workers.zip _worker.js package-lock.json package.json wrangler.toml # 使用zip命令直接打包 | ||
run: zip cf-wkrs-pages-vless.zip _worker.js package-lock.json package.json wrangler.toml # 使用zip命令直接打包 | ||
|
||
- name: Commit and push the packaged file # 提交并推送打包后的文件 | ||
uses: EndBug/add-and-commit@v7 # 使用EndBug/add-and-commit动作 | ||
with: | ||
add: 'workers.zip' # 指定要提交的文件 | ||
add: 'cf-wkrs-pages-vless.zip' # 指定要提交的文件 | ||
message: 'Automatically package and commit worker.zip' # 提交信息 | ||
author_name: GitHub Actions # 提交者名称 | ||
author_email: [email protected] # 提交者邮箱 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters