Skip to content

Commit

Permalink
feat(ci): Add spaces arounf input tokens in the github actions (#295)
Browse files Browse the repository at this point in the history
* feat(cat-ci): Add GITHUB_TOKEN as a secret when earthly is invoked.

* fix(cat-ci): add spaces around the input references
  • Loading branch information
stevenj authored Aug 30, 2024
1 parent f8e3a0c commit 9db7b7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ runs:
EARTHLY_FLAGS=()
TARGET_FLAGS=()
if [[ -n "${{ inputs.earthly_satellite}}" ]]; then
if [[ -n "${{ inputs.earthly_satellite }}" ]]; then
EARTHLY_FLAGS+=("--buildkit-host" "tcp://${{ inputs.earthly_satellite }}:8372")
fi
if [[ -n "${{ inputs.github_token}}" ]]; then
if [[ -n "${{ inputs.github_token }}" ]]; then
EARTHLY_FLAGS+=("--secret" "GITHUB_TOKEN=${{ inputs.github_token }}")
fi
Expand Down

0 comments on commit 9db7b7f

Please sign in to comment.