From 2f2552aefc21d29e6610203d46058bc9061beca8 Mon Sep 17 00:00:00 2001 From: Ulad Kasach Date: Thu, 5 Sep 2024 01:26:51 -0400 Subject: [PATCH] fix(expo): use dev access secrets for test and dev --- .../best-practice/.github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml b/src/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml index d20a708..d4280c5 100644 --- a/src/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml +++ b/src/practices/cicd-app-react-native-expo/best-practice/.github/workflows/deploy.yml @@ -38,8 +38,8 @@ jobs: aws-region: us-east-1 aws-account-id: '419351972351' secrets: - aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }} + aws-access-key-id: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} dev: uses: ./.github/workflows/.deploy-expo.yml @@ -56,8 +56,8 @@ jobs: aws-account-id: '@declapract{variable.awsAccountId.dev}' secrets: expo-token: ${{ secrets.EXPO_TOKEN }} - aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }} + aws-access-key-id: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} prod: uses: ./.github/workflows/.deploy-expo.yml