From 2ed26daa7a730b5f1aef459625d58b4f9baeb2d4 Mon Sep 17 00:00:00 2001 From: xyzroe Date: Sun, 21 Apr 2024 01:08:36 +0300 Subject: [PATCH] 20240421 Web UI: Code: Build and Development: Docs: Hardware: --- .github/workflows/workflow.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index bc93702..a75fe67 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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<> $GITHUB_ENV @@ -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 \ No newline at end of file + git push origin mkdocs + env: + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} \ No newline at end of file