We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469b47b commit 3ec84efCopy full SHA for 3ec84ef
.github/workflows/deploy.yml
@@ -29,10 +29,10 @@ jobs:
29
hexo clean
30
hexo generate
31
32
- - name: Update README with deployment info
+ - name: Create deployment info file
33
run: |
34
time=$(date '+%Y-%m-%d %H:%M:%S')
35
- cat <<EOF >> README.md
+ cat <<EOF > public/README.md
36
37
## Deployment Information
38
@@ -47,12 +47,6 @@ jobs:
47
Workflow ID | ${{ github.run_id }} |
48
Workflow NUM | ${{ github.run_number }} |
49
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
56
57
- name: Deploy to GitHub Pages
58
uses: peaceiris/actions-gh-pages@v3
0 commit comments