Skip to content

Commit a1b9a5e

Browse files
authored
Update build.yml
1 parent e45de1d commit a1b9a5e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ jobs:
4545
4646
- name: Configure git user
4747
run: |
48-
hub config --global user.name "github-actions[bot]"
49-
hub config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
48+
git config --global user.name "github-actions[bot]"
49+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
5050
5151
- name: Push
5252
run: |
5353
cd dist
54-
hub init -b public_html
55-
hub add .
56-
hub commit -m "Build public_html [Github actions]"
57-
echo hub remote add output https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
58-
hub remote add output https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
59-
hub push -fu output public_html
54+
git init -b public_html
55+
git add .
56+
git commit -m "Build public_html [Github actions]"
57+
echo git remote add output https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
58+
git remote add output https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git
59+
git push -fu output public_html

0 commit comments

Comments
 (0)