Skip to content

Commit

Permalink
Expose build args as input to s3 deploy task (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukiffer committed Oct 6, 2023
1 parent 9bd973c commit 5677b04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-to-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ on:
required: false
type: boolean
default: true
buildArgs:
description: Additional arguments to pass to `npm run build`.
required: false
type: string
default: ''
useGitLfs:
description: Whether or not checkout should pull git-lfs files.
required: false
Expand Down Expand Up @@ -55,7 +60,7 @@ jobs:
shell: bash
- name: Run default build
if: inputs.runDefaultBuild == true
run: npm run build
run: npm run build -- ${{ inputs.buildArgs }}
shell: bash
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 5677b04

Please sign in to comment.