From 790e831a0d5c09fdb170e3acd689e22f20b04fad Mon Sep 17 00:00:00 2001 From: MorCohenAres Date: Thu, 1 Sep 2022 15:11:09 +0300 Subject: [PATCH] add missing quotes --- README.md | 10 +++++----- action.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 78d2bd6..d0417bc 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 🚀 :octocat: AWS Amplify CLI support for github actions. This action supports configuring and deploying your project to AWS as well as creating and undeploying amplify environments. ## Getting Started -You can include the action in your workflow as `actions/amplify-cli-action@0.4.4`. Example (configuring amplify, building and deploying): +You can include the action in your workflow as `actions/amplify-cli-action@0.4.5`. Example (configuring amplify, building and deploying): ```yaml name: 'Amplify Deploy' @@ -32,7 +32,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: configure amplify - uses: AresFitness/amplify-cli-action@0.4.4 + uses: AresFitness/amplify-cli-action@0.4.5 with: amplify_command: configure amplify_env: prod @@ -49,7 +49,7 @@ jobs: # npm run test - name: deploy - uses: AresFitness/amplify-cli-action@0.4.4 + uses: AresFitness/amplify-cli-action@0.4.5 with: amplify_command: publish amplify_env: prod @@ -252,7 +252,7 @@ jobs: # also remove -_ from branch name and limit length to 10 for amplify env restriction echo "##[set-output name=amplifyenvname;]$(echo ${GITHUB_HEAD_REF//[-_]/} | cut -c-10)" - name: deploy test environment - uses: AresFitness/amplify-cli-action@0.4.4 + uses: AresFitness/amplify-cli-action@0.4.5 with: amplify_command: add_env amplify_env: ${{ steps.setenvname.outputs.amplifyenvname }} @@ -270,7 +270,7 @@ jobs: # npm run test - name: undeploy test environment - uses: AresFitness/amplify-cli-action@0.4.4 + uses: AresFitness/amplify-cli-action@0.4.5 # run even if previous step fails if: failure() || success() with: diff --git a/action.yml b/action.yml index eb9b0f4..32b8232 100644 --- a/action.yml +++ b/action.yml @@ -38,7 +38,7 @@ runs: steps: - run: | chmod +x $GITHUB_ACTION_PATH/entrypoint.sh - $GITHUB_ACTION_PATH/entrypoint.sh ${{ inputs.project_dir }} ${{ inputs.source_dir }} ${{ inputs.distribution_dir }} ${{ inputs.build_command }} ${{ inputs.amplify_command }} ${{ inputs.amplify_env }} ${{ inputs.delete_lock }} ${{ inputs.amplify_cli_version }} ${{ inputs.amplify_arguments }} + $GITHUB_ACTION_PATH/entrypoint.sh "${{ inputs.project_dir }}" "${{ inputs.source_dir }}" "${{ inputs.distribution_dir }}" "${{ inputs.build_command }}" "${{ inputs.amplify_command }}" "${{ inputs.amplify_env }}" "${{ inputs.delete_lock }}" "${{ inputs.amplify_cli_version }}" "${{ inputs.amplify_arguments }}" shell: bash branding: icon: 'git-commit'