Skip to content

Commit 46d7cea

Browse files
committed
fix(ci): Fix command substitution in update flake.lock CI job
1 parent 0e02f8a commit 46d7cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-flake-dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# commit via the GitHub API so we get automatic commit signing
3939
gh api --method PUT /repos/1Password/shell-plugins/contents/$FILE_TO_COMMIT \
4040
--field message="$COMMIT_MESSAGE" \
41-
--field content=@<(base64 -i $FILE_TO_COMMIT) \
41+
--field content="$(base64 -w 0 $FILE_TO_COMMIT)" \
4242
--field branch="$COMMIT_BRANCH" \
4343
--field sha="$(git rev-parse $COMMIT_BRANCH:$FILE_TO_COMMIT)"
4444
if [ "$BRANCH_EXISTS" = "false" ]; then

0 commit comments

Comments
 (0)