From b46151943c61b3a8a099b274d061fdcea2eec570 Mon Sep 17 00:00:00 2001 From: Samuel Larsson Date: Sun, 8 Dec 2024 11:32:23 +0100 Subject: [PATCH] Fix build step, attempt 2: electric boogaloo --- .github/workflows/build.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aabf397..92406ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,8 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + with: + token: ${{ secrets.PAT }} - name: Setup Node uses: actions/setup-node@v3 with: @@ -45,11 +47,12 @@ jobs: id: commit-title run: yarn --silent github commitTitle >> "$GITHUB_OUTPUT" - name: Commit build - uses: EndBug/add-and-commit@v9 - with: - add: 'dist' - committer_name: Songbird Bot - message: > - ${{ steps.commit-title.outputs.out }} - - Build was created as a result of commit ${{ github.event.workflow_run.head_commit.id }} + run: | + git config --global user.name 'Songbird bot' + git config --global user.email 'insektionen-webmaster@users.noreply.github.com' + git add dist + git commit -m "\ + ${{ steps.commit-title.outputs.out }}\ + \n\n\ + Build was created as a result of commit ${{ github.event.workflow_run.head_commit.id }}\n[skip actions]" + git push