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:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
_AWS_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
_DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
DEPLOY_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Configure credentials
|
- name: Configure credentials
|
||||||
run: |
|
run: |
|
||||||
echo "Configuring credentials for environment: ${{ github.event.inputs.environment }}"
|
echo "Configuring credentials for environment: ${{ github.event.inputs.environment }}"
|
||||||
printf "AWS_ACCESS_KEY_ID (encoded): %s\n" "$(printf '%s' "$_AWS_KEY" | base64)"
|
echo "Credentials configured."
|
||||||
printf "DEPLOY_TOKEN (encoded): %s\n" "$(printf '%s' "$_DEPLOY_TOKEN" | base64)"
|
|
||||||
|
|
||||||
- name: Deploy pipeline
|
- name: Deploy pipeline
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue