Skip to content

Commit a47b71a

Browse files
committed
Fix API Key
1 parent c92fbf5 commit a47b71a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/nightly_rdr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ jobs:
5555
- name: Run Builder
5656
shell: pwsh
5757
run: |
58-
\rdr\pconsole.exe "$env:GITHUB_WORKSPACE\Source\Scripts\NightlyBuilder_Actions.rdr"
58+
\rdr\pconsole.exe "$env:GITHUB_WORKSPACE\Source\Scripts\NightlyBuilder_Actions.rdr" "/ApiKey" "${{ secrets.LEGENDUTIL_API_KEY }}"

Scripts/NightlyBuilder_Actions.rdr

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ APIURL=「https://api-legendutil.ezolys.com/releases」
1010

1111
// 変数
1212
オプション={
13+
「ApiKey」=「」,
1314
「DisablePushToRepo」=×,
1415
「DisableRegisterToAPI」=×
1516
}
@@ -173,7 +174,7 @@ APIURL=「https://api-legendutil.ezolys.com/releases」
173174
登録要求=HTTP要求を作ったもの
174175
登録要求のメソッド=「POST」
175176
登録要求のContentType=「application/json」
176-
登録要求のヘッダ={「Api-Key」=「LEGENDUTIL_API_KEY」の環境変数}
177+
登録要求のヘッダ={「Api-Key」=オプション(「ApiKey」)}
177178
登録要求の文字コード=「UTF-8」
178179
登録要求の本文={
179180
「version」=[バージョン],

0 commit comments

Comments
 (0)