fix: do not print secrets in deploy log
This commit is contained in:
parent
977c50cc95
commit
a26fb96c12
1 changed files with 3 additions and 4 deletions
|
|
@ -16,14 +16,13 @@ jobs:
|
|||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
_AWS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
_DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
||||
steps:
|
||||
- name: Configure credentials
|
||||
run: |
|
||||
echo "Configuring credentials for environment: ${{ github.event.inputs.environment }}"
|
||||
printf "AWS_ACCESS_KEY_ID (encoded): %s\n" "$(printf '%s' "$_AWS_KEY" | base64)"
|
||||
printf "DEPLOY_TOKEN (encoded): %s\n" "$(printf '%s' "$_DEPLOY_TOKEN" | base64)"
|
||||
echo "Credentials configured."
|
||||
|
||||
- name: Deploy pipeline
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue