don't echo the command into the config pipe the result into the file
This commit is contained in:
parent
8e649aac83
commit
94c80fb3e1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/upload-image.yml
vendored
4
.github/workflows/upload-image.yml
vendored
|
|
@ -27,8 +27,8 @@ jobs:
|
|||
AER_USER_PWD: ${{ secrets.AER_USER_PWD }}
|
||||
run: |
|
||||
mv app/config.json.sample app/config.json
|
||||
echo jq --arg pk "$KEY" '.user.privatekey = \$pk' app/config.json.sample > app/config.json.tmp && mv app/config.json.tmp app/config.json
|
||||
echo jq --arg pwd "$AER_USER_PWD" '.user.password = \$pwd' app/config.json.sample > app/config.json.tmp && mv app/config.json.tmp app/config.json
|
||||
jq --arg pk "$KEY" '.user.privatekey = \$pk' app/config.json.sample > app/config.json.tmp && mv app/config.json.tmp app/config.json
|
||||
jq --arg pwd "$AER_USER_PWD" '.user.password = \$pwd' app/config.json.sample > app/config.json.tmp && mv app/config.json.tmp app/config.json
|
||||
- name: Upload image to ECR
|
||||
run: |
|
||||
./image-build-upload.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue