From 5064e689f683ac5e1adaf163d0c2476cb1155851 Mon Sep 17 00:00:00 2001 From: 86LAK <121588258+86LAK@users.noreply.github.com> Date: Wed, 1 May 2024 18:13:58 +1000 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 48cd99c..3d63ffb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: - name: Deploy to AWS run: | - echo "::add-mask::${{ github.event.inputs.awsCredentials }}" > credentials.txt >/dev/null + echo "::set-env name=AWS_CREDENTIALS::${{ github.event.inputs.awsCredentials }}" export AWS_ACCESS_KEY_ID=$(grep -oP '(?<=AWS_ACCESS_KEY_ID=)\S+' credentials.txt) export AWS_SECRET_ACCESS_KEY=$(grep -oP '(?<=AWS_SECRET_ACCESS_KEY=)\S+' credentials.txt) export AWS_SESSION_TOKEN=$(grep -oP '(?<=AWS_SESSION_TOKEN=)\S+' credentials.txt)