Skip to content

Commit

Permalink
add missing quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
MorCohenAres committed Sep 1, 2022
1 parent f93f04f commit 790e831
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 790e831

Please # to comment.