Skip to content

Commit 3ec84ef

Browse files
committed
BUILD
1 parent 469b47b commit 3ec84ef

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
hexo clean
3030
hexo generate
3131
32-
- name: Update README with deployment info
32+
- name: Create deployment info file
3333
run: |
3434
time=$(date '+%Y-%m-%d %H:%M:%S')
35-
cat <<EOF >> README.md
35+
cat <<EOF > public/README.md
3636
3737
## Deployment Information
3838
@@ -47,12 +47,6 @@ jobs:
4747
Workflow ID | ${{ github.run_id }} |
4848
Workflow NUM | ${{ github.run_number }} |
4949
EOF
50-
51-
git config --global user.name "GitHub Actions"
52-
git config --global user.email "actions@github.com"
53-
git add README.md
54-
git commit -m "Update README with deployment info" || echo "No changes to commit"
55-
git push
5650
5751
- name: Deploy to GitHub Pages
5852
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)