From e9a4a3d7496e98223c41b37315ed41db342d4043 Mon Sep 17 00:00:00 2001 From: Jan Lesage Date: Mon, 30 Sep 2024 14:54:42 +0200 Subject: [PATCH] fix: use repository specific access key and secret --- .github/workflows/main.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 81d0bec..b74ee69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -447,8 +447,8 @@ jobs: version: ${{ github.event.inputs.version }} status-url: $STATUS_URL deploy-url: $BUILD_URL - access-key: ${{ secrets.VBR_AWS_BUILD_USER_ACCESS_KEY_ID_IK4 }} - secret-key: ${{ secrets.VBR_AWS_BUILD_USER_SECRET_ACCESS_KEY_IK4 }} + access-key: ${{ secrets.AWS_ACCESS_KEY_ID }} + secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} deploy-target: 'ecs' domain: 'verenigingsregister' project: 'verenigingsregister' @@ -520,8 +520,8 @@ jobs: version: ${{ github.event.inputs.version }} status-url: $STATUS_URL deploy-url: $BUILD_URL - access-key: ${{ secrets.VBR_AWS_BUILD_USER_ACCESS_KEY_ID_IK4 }} - secret-key: ${{ secrets.VBR_AWS_BUILD_USER_SECRET_ACCESS_KEY_IK4 }} + access-key: ${{ secrets.AWS_ACCESS_KEY_ID }} + secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} deploy-target: 'lambda' domain: 'verenigingsregister' project: 'verenigingsregister' @@ -535,7 +535,6 @@ jobs: echo Status: ${{ steps.awscurl-polling-action.outputs.status }} echo ${{ steps.awscurl-polling-action.outputs.final-message }} - upload-sync-lambda: name: Upload Sync Lambda needs: [ release ] @@ -603,8 +602,8 @@ jobs: version: ${{ github.event.inputs.version }} status-url: $STATUS_URL deploy-url: $BUILD_URL - access-key: ${{ secrets.VBR_AWS_BUILD_USER_ACCESS_KEY_ID_IK4 }} - secret-key: ${{ secrets.VBR_AWS_BUILD_USER_SECRET_ACCESS_KEY_IK4 }} + access-key: ${{ secrets.AWS_ACCESS_KEY_ID }} + secret-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} deploy-target: 'lambda' domain: 'verenigingsregister' project: 'verenigingsregister' @@ -618,8 +617,6 @@ jobs: echo Status: ${{ steps.awscurl-polling-action.outputs.status }} echo ${{ steps.awscurl-polling-action.outputs.final-message }} - - publish_to_atlassian: if: needs.release.outputs.version != 'none' needs: