Skip to content

Commit

Permalink
20240421
Browse files Browse the repository at this point in the history
Web UI:

Code:

Build and Development:

Docs:

Hardware:
  • Loading branch information
xyzroe committed Apr 20, 2024
1 parent dc51005 commit 2ed26da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
id: get_commit_message
run: |
currentTag=${GITHUB_REF#refs/tags/}
badgeText=$'![GitHub Downloads](https://img.shields.io/github/downloads/xyzroe/XZG/'"$currentTag"'/total)\n\n'
badgeText="![GitHub Downloads](https://img.shields.io/github/downloads/xyzroe/XZG/${currentTag}/total)\n\n"
commitMessage=$(git log -1 --pretty=%B | tail -n +2)
fullCommitMessage="$badgeText$commitMessage"
echo "commitMessage<<EOF" >> $GITHUB_ENV
Expand Down Expand Up @@ -121,4 +121,6 @@ jobs:
git config --local user.name "GitHub Action"
git add docs/assets/manifest/${{ steps.get_version.outputs.version }}/manifest.json
git commit -m "Add manifest.json for version ${{ steps.get_version.outputs.version }}"
git push origin mkdocs
git push origin mkdocs
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

0 comments on commit 2ed26da

Please sign in to comment.