Skip to content

Commit 47d43bb

Browse files
committed
Attempt 2 using gh api
1 parent 7be029b commit 47d43bb

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/commit-tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: Configure Git
3737
shell: sh
3838
run: |
39-
git config --global safe.directory $(pwd)
4039
git config --global user.name "Application Collection Bot"
4140
git config --global user.email "[email protected]"
4241
@@ -45,9 +44,9 @@ jobs:
4544
env:
4645
GH_TOKEN: ${{ steps.create-token.outputs.token }}
4746
run: |
48-
export SHA=$( git rev-parse gh-app-tests:. )
49-
export CONTENT=$( base64 -i . )
50-
gh api --method PUT /repos/:owner/:repo/contents/. \
47+
export SHA=$( git rev-parse gh-app-tests:ui )
48+
export CONTENT=$( base64 -i ui )
49+
gh api --method PUT /repos/:owner/:repo/contents/ui \
5150
--field message="Signed commit test" \
5251
--field content="$CONTENT" \
5352
--field encoding="base64" \

0 commit comments

Comments
 (0)