don't rename the file first just use the renamed version
This commit is contained in:
parent
d0e2e267d7
commit
994145bef1
1 changed files with 0 additions and 1 deletions
1
.github/workflows/upload-image.yml
vendored
1
.github/workflows/upload-image.yml
vendored
|
|
@ -26,7 +26,6 @@ jobs:
|
|||
KEY: ${{ secrets.GATSBY_DEVOPS_PRIVATE_KEY }}
|
||||
AER_USER_PWD: ${{ secrets.AER_USER_PWD }}
|
||||
run: |
|
||||
mv app/config.json.sample 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue