Skip to content

Commit 5bce0d0

Browse files
committed
wip: test the usage of serialized dynamic secrets
1 parent 78e0c89 commit 5bce0d0

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/application-js-cloudflare-feature.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ name: "CI / Application JS Cloudflare Feature"
33
on:
44
workflow_call:
55
inputs:
6-
DEPLOY_SECRETS:
6+
APP_NAME:
7+
type: string
78
required: true
9+
DEPLOY_SECRETS:
810
type: string
11+
required: true
912
secrets:
1013
GH_TOKEN:
1114
required: true
@@ -92,13 +95,16 @@ jobs:
9295
with:
9396
name: public
9497
path: ./public
98+
- name: Debug Something
99+
run: |
100+
echo "${{ inputs.DEPLOY_SECRETS }}"
95101
- name: Setup Deploy Secrets
96102
run: |
97103
echo "${{ inputs.DEPLOY_SECRETS }}" | jq -r 'to_entries | .[] | "\(.key)=\(.value)"' >> $GITHUB_ENV
98104
- name: Run deployment
99105
env:
100106
name: "feature/${{ github.ref_name }}"
101-
url: "https://${{ github.ref_name }}.dev.zeta.house"
107+
url: "https://${{ github.ref_name }}.dev.${{ inputs.APP_NAME }}"
102108
run: |
103109
echo 'Perform service deployment for feature'
104110
echo "$SECRET1"

0 commit comments

Comments
 (0)