Skip to content

Commit 04753eb

Browse files
committed
Try setting user/email inside script
1 parent e55749a commit 04753eb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Push it to the gh-pages branch.
77
git clone --depth=1 --branch=gh-pages git@github.com:scijava/status.scijava.org site &&
88
mv -f index-new.html site/index.html &&
9+
git config --global user.name github-actions &&
10+
git config --global user.email github-actions@github.com &&
911
cd site &&
1012
if git diff --quiet index.html
1113
then

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,4 @@ jobs:
1616
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
1717

1818
- name: Execute the build
19-
run: |
20-
git config user.name github-actions
21-
git config user.email github-actions@github.com
22-
.github/build.sh
19+
run: .github/build.sh

0 commit comments

Comments
 (0)