mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 01:45:25 +08:00
Add: API Token
This commit is contained in:
@@ -20,7 +20,7 @@ class DeployConfig:
|
||||
def show_config(self):
|
||||
hr0('Show deploy config')
|
||||
for k, v in self.config.items():
|
||||
if k == 'Password':
|
||||
if k in ('Password', 'ApiToken'):
|
||||
continue
|
||||
print(f'{k}: {v}')
|
||||
|
||||
|
||||
@@ -62,6 +62,17 @@ Deploy:
|
||||
InstallUiautomator2: true
|
||||
|
||||
Update:
|
||||
# Api Access token
|
||||
# **Use same platform as Repository
|
||||
# Github:
|
||||
# https://github.com/settings/tokens/new
|
||||
# Enter your note, choose expiration and click Generate token, copy the token
|
||||
# Token will be like this: ghp_cdvpqb23klCfg9Ah567anou8Bt4imDwxersj0yz1
|
||||
# Gitee:
|
||||
# https://gitee.com/api/v5/swagger#/
|
||||
# Click "申请授权" at the upper right corner, copy value of access_token
|
||||
# Token will be like this: pqrsg189hijcbkn0672def1lm495a3o4
|
||||
ApiToken: null
|
||||
# Check update every X minute
|
||||
# [Disable] -1
|
||||
# [Default] 60
|
||||
|
||||
Reference in New Issue
Block a user