From fccae81ffe319291cb01c86e8481395d7333678d Mon Sep 17 00:00:00 2001 From: Oleh Kulish <47536433+fivlao@users.noreply.github.com> Date: Sat, 13 Jan 2024 20:17:03 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dfe3d0a..69866ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,9 +27,9 @@ jobs: - name: Init AWS CLI run: | - mkdir ./aws - touch ./aws/config < ${{ secrets.AWS_CONFIG }} - touch ./aws/credentials < ${{ secrets.AWS_CREDS }} + mkdir ~/aws + echo "${{ secrets.AWS_CONFIG }}" > ~/aws/config + echo "${{ secrets.AWS_CREDS }}" > ~/aws/credentials - name: Start AWS EC2 instance run: |