From 7e54c84c0320e00c59f4f91ee5a47e85d7472706 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 13 Feb 2023 08:52:30 +0800 Subject: [PATCH] indexing trigger: forgot aws and github token env (#274) * #256 add AWS env vars in indexing script * add GITHUB_TOKEN --------- Co-authored-by: neil --- .github/workflows/build.yml | 1 + .github/workflows/index-data.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0014bc73..4ea6c30a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -125,6 +125,7 @@ jobs: - run: tea +tea.xyz/brewkit test ${{ inputs.projects }} env: TEA_PANTRY_PATH: ${{ github.workspace }} + GITHUB_TOKEN: ${{github.token}} - name: post run: diff --git a/.github/workflows/index-data.yml b/.github/workflows/index-data.yml index ee142c1b..1340724a 100644 --- a/.github/workflows/index-data.yml +++ b/.github/workflows/index-data.yml @@ -21,4 +21,6 @@ jobs: env: TEA_PANTRY_PATH: ${{ github.workspace }} AWS_REGION: us-east-1 + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}