Skip to content

Commit

Permalink
Fix build step, attempt 2: electric boogaloo
Browse files Browse the repository at this point in the history
  • Loading branch information
StelFoog committed Dec 8, 2024
1 parent 4efc76d commit 01290a4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 '[email protected]'
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

0 comments on commit 01290a4

Please sign in to comment.