diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 052d894..651ab07 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,6 +28,9 @@ jobs: - name: Deploy to AWS run: | + echo "::add-mask::${{ github.event.inputs.awsAccessKeyId }}" + echo "::add-mask::${{ github.event.inputs.awsSecretAccessKey }}" + echo "::add-mask::${{ github.event.inputs.awsSessionToken }}" export AWS_ACCESS_KEY_ID=${{ github.event.inputs.awsAccessKeyId }} export AWS_SECRET_ACCESS_KEY=${{ github.event.inputs.awsSecretAccessKey }} export AWS_SESSION_TOKEN=${{ github.event.inputs.awsSessionToken }} diff --git a/.github/workflows/teardown.yml b/.github/workflows/teardown.yml index ad1c3aa..e12334a 100644 --- a/.github/workflows/teardown.yml +++ b/.github/workflows/teardown.yml @@ -28,6 +28,10 @@ jobs: - name: Teardown to AWS run: | + run: | + echo "::add-mask::${{ github.event.inputs.awsAccessKeyId }}" + echo "::add-mask::${{ github.event.inputs.awsSecretAccessKey }}" + echo "::add-mask::${{ github.event.inputs.awsSessionToken }}" export AWS_ACCESS_KEY_ID=${{ github.event.inputs.awsAccessKeyId }} export AWS_SECRET_ACCESS_KEY=${{ github.event.inputs.awsSecretAccessKey }} export AWS_SESSION_TOKEN=${{ github.event.inputs.awsSessionToken }}