Skip to content

Commit b781607

Browse files
committed
Add configuration json to deploy job
1 parent 98fb8d4 commit b781607

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/deployment.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949
CLEAN_BRANCH_NAME="${GITHUB_REF_NAME//\//_}"
5050
echo "CLEAN_BRANCH_NAME=${CLEAN_BRANCH_NAME}" >> $GITHUB_ENV
5151
52+
- name: Create Config
53+
env:
54+
WEB_CONFIG_JSON: ${{ secrets.WEB_CONFIG_JSON }}
55+
run: |
56+
echo "${WEB_CONFIG_JSON}" > ./etc/config.phoenix.json
57+
5258
- name: Compress Artifacts
5359
run: zip -r ${{ env.CLEAN_BRANCH_NAME }}.zip .
5460

@@ -88,3 +94,7 @@ jobs:
8894
8995
# Cleanup the secret
9096
rm -fv "${HOME}/.ssh/id_${SSH_USER}" "${HOME}/.ssh/id_${SSH_USER}.pub"
97+
98+
- name: Cleanup Config
99+
run: |
100+
rm -fv ./etc/config.phoenix.json

0 commit comments

Comments
 (0)