Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
Gzz Images
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
Gzz Images
Commits
97fce96e
Commit
97fce96e
authored
Sep 21, 2020
by
Li Mi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
先修复定时搬运的定时错误
parent
7bcff968
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
4 deletions
+85
-4
.github/workflows/sync-fix.yml
.github/workflows/sync-fix.yml
+85
-4
No files found.
.github/workflows/sync-fix.yml
View file @
97fce96e
...
@@ -3,9 +3,7 @@ name: 定时搬回国内
...
@@ -3,9 +3,7 @@ name: 定时搬回国内
# 触发条件:在 push 到 master 分支后
# 触发条件:在 push 到 master 分支后
on
:
on
:
schedule
:
schedule
:
# UTC 四小时一次
-
cron
:
"
20
12
*/3
*
*"
# UTC+8 四小时一次
-
cron
:
"
*
*/4
*
*
*"
env
:
env
:
TKE_USERNAME
:
${{ secrets.TKE_USERNAME }}
TKE_USERNAME
:
${{ secrets.TKE_USERNAME }}
...
@@ -17,7 +15,88 @@ env:
...
@@ -17,7 +15,88 @@ env:
# 任务
# 任务
jobs
:
jobs
:
sync-back
:
sync-adguard
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./adguard/adguard.yml
sync-dnsmasq
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./dnsmasq/dnsmasq.yml
sync-l7rsc2
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./l7rsc2/l7rsc2.yml
sync-php-fpm
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./php-fpm/php-fpm.yml
sync-smartdns
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./smartdns/smartdns.yml
# 下面是 P73R0d4c7YL-steam 部分
sync-ark-survival-evolved
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./pterodactyl/steam/ark-survival-evolved/ark-survival-evolved.yml
sync-icelakes
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./pterodactyl/steam/icelakes/icelakes.yml
sync-mordhau
:
runs-on
:
ubuntu-latest
steps
:
-
name
:
检出代码
uses
:
actions/checkout@v2
-
name
:
准备同步工具
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./pterodactyl/steam/mordhau/mordhau.yml
sync-unturned
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
检出代码
-
name
:
检出代码
...
@@ -26,3 +105,5 @@ jobs:
...
@@ -26,3 +105,5 @@ jobs:
run
:
bash ./sync-tool/tools.sh
run
:
bash ./sync-tool/tools.sh
-
name
:
搬回国内
-
name
:
搬回国内
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./pterodactyl/steam/unturned/unturned.yml
run
:
./image-syncer -r 5 --auth ./sync-tool/auth.json --images ./pterodactyl/steam/unturned/unturned.yml
# 下面是 P73R0d4c7YL-base 部分
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment