From 53a7c79f659d2ef8e15534914d1cc15113d4463c Mon Sep 17 00:00:00 2001 From: xmz Date: Fri, 19 Apr 2024 14:39:00 +0800 Subject: [PATCH] update git release --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0999d40..98ab6de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,8 @@ name: Release +permissions: + contents: write + on: push: branches: @@ -42,3 +45,12 @@ jobs: GIT_COMMITTER_NAME: github-actions GIT_COMMITTER_EMAIL: github-actions@github.com CI: true + - name: Commit dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git config --global user.email "ximplez@foxmail.com" + git config --global user.name "ximplez" + git add dist + git commit -m 'dist update' + git push