diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index f8718119..61ab586a 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -10,13 +10,23 @@ jobs: runs-on: ubuntu-latest outputs: stage: ${{ steps.set-stage.outputs.stage }} - + secrets: + AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} + AWS_REGION: ${{ secrets.DEV_AWS_REGION }} + DEV_DB_HOST: ${{ secrets.DEV_DB_HOST }} steps: - name: Determine stage from branch id: set-stage shell: bash run: | + echo $AWS_ACCESS_KEY_ID + echo $AWS_SECRET_ACCESS_KEY + echo $AWS_REGION + echo $DEV_DB_HOST + env + BRANCH="${GITHUB_REF_NAME}" if [[ "$BRANCH" == "prod" ]]; then