Skip to content

Commit 7ca85e9

Browse files
committed
chore: update MongoDB Atlas keys and fix command execution paths in contract testing workflow
1 parent 9f32f47 commit 7ca85e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/contract-testing.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,8 @@ jobs:
862862
if: ${{ needs.change-detection.outputs.trigger == 'true' }}
863863
runs-on: ubuntu-latest
864864
env:
865-
MONGODB_ATLAS_PUBLIC_API_KEY: ${{ secrets.CLOUD_DEV_PUBLIC_KEY }}
866-
MONGODB_ATLAS_PRIVATE_API_KEY: ${{ secrets.CLOUD_DEV_PRIVATE_KEY }}
865+
MONGODB_ATLAS_PUBLIC_KEY: ${{ secrets.CLOUD_DEV_PUBLIC_KEY }}
866+
MONGODB_ATLAS_PRIVATE_KEY: ${{ secrets.CLOUD_DEV_PRIVATE_KEY }}
867867
MONGODB_ATLAS_ORG_ID: ${{ secrets.CLOUD_DEV_ORG_ID }}
868868
MONGODB_ATLAS_BASE_URL: ${{ vars.MONGODB_ATLAS_BASE_URL }}
869869

@@ -906,11 +906,11 @@ jobs:
906906
- name: atlas-init-init
907907
run: atlas-init init
908908
- name: atlas-init-apply
909-
run: ${{ env.FOLDER_PATH }} && atlas-init apply -auto-approve
909+
run: cd ${{ env.FOLDER_PATH }} && atlas-init apply -auto-approve
910910
- name: atlas-init-contract-test-dry-run
911-
run: ${{ env.FOLDER_PATH }} && atlas-init --dry-run cfn contract-test
911+
run: cd ${{ env.FOLDER_PATH }} && atlas-init --dry-run cfn contract-test
912912
- name: atlas-init-contract-test
913-
run: ${{ env.FOLDER_PATH }} && atlas-init cfn contract-test
913+
run: cd ${{ env.FOLDER_PATH }} && atlas-init cfn contract-test
914914
- name: atlas-init-destroy
915-
run: ${{ env.FOLDER_PATH }} && atlas-init destroy -auto-approve
915+
run: cd ${{ env.FOLDER_PATH }} && atlas-init destroy -auto-approve
916916
if: always()

0 commit comments

Comments
 (0)