From ca110bb12ffd686a2821b7a7bd8f7488bd5ef249 Mon Sep 17 00:00:00 2001 From: Frostebite Date: Fri, 31 Dec 2021 21:05:35 +0000 Subject: [PATCH] fix --- .github/workflows/cloud-runner-aws-pipeline.yml | 8 ++++---- src/model/cloud-runner/cloud-runner.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cloud-runner-aws-pipeline.yml b/.github/workflows/cloud-runner-aws-pipeline.yml index ba5c13e2..8d56d858 100644 --- a/.github/workflows/cloud-runner-aws-pipeline.yml +++ b/.github/workflows/cloud-runner-aws-pipeline.yml @@ -82,11 +82,11 @@ jobs: postBuildSteps: | - name: upload image: amazon/aws-cli - commands: ['aws s3 list-buckets'] + commands: 'aws s3 list-buckets' secrets: - - name: AWS_ACCESS_KEY_ID + - name: awsAccesKeyId value: ${{ secrets.AWS_ACCESS_KEY_ID }} - - name: AWS_SECRET_ACCESS_KEY + - name: awsSecretAccessKey value: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - - name: AWS_DEFAULT_REGION + - name: awsDefaultRegion value: eu-west-2 diff --git a/src/model/cloud-runner/cloud-runner.test.ts b/src/model/cloud-runner/cloud-runner.test.ts index fad498d6..3e846508 100644 --- a/src/model/cloud-runner/cloud-runner.test.ts +++ b/src/model/cloud-runner/cloud-runner.test.ts @@ -18,7 +18,7 @@ describe('Cloud Runner', () => { customJob: ` - name: 'step 1' image: 'alpine' - commands: ['printenv'] + commands: 'printenv' secrets: - name: '${testSecretName}' value: '${testSecretValue}'