Skip to content

Commit e559aeb

Browse files
committed
update publish location
1 parent 9a88205 commit e559aeb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release-branch.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ on:
3535
description: 'Release branch to build & publish from'
3636
required: true
3737
type: string
38+
uploadUrl:
39+
description: 'Location to publish packages to'
40+
required: false
41+
default: "up-ap.nginx.com"
3842
workflow_call:
3943
inputs:
4044
githubRelease:
@@ -61,6 +65,9 @@ on:
6165
releaseBranch:
6266
type: string
6367
required: true
68+
uploadUrl:
69+
type: string
70+
default: "up-ap.nginx.com"
6471

6572
env:
6673
NFPM_VERSION: 'v2.35.3'
@@ -314,7 +321,7 @@ jobs:
314321
if: ${{ inputs.publishPackages == true }}
315322
env:
316323
TOKEN: ${{ steps.idtoken.outputs.id_token }}
317-
UPLOAD_URL: ${{ secrets.UPLOAD_URL }}
324+
UPLOAD_URL: ${{ inputs.uploadUrl }}
318325
run: |
319326
make release
320327

0 commit comments

Comments
 (0)