Skip to content

Commit

Permalink
add git push to artifacts
Browse files Browse the repository at this point in the history
foo
  • Loading branch information
zeroknots committed Jul 12, 2024
1 parent 23b5d69 commit 4c6d10e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/forge-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
workflow_call:

jobs:
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

forge-artifacts:
runs-on: "ubuntu-latest"
steps:
Expand Down Expand Up @@ -36,6 +41,9 @@ jobs:
name: "contract-artifacts"
path: "artifacts"

- name: "Commit and push artifact"
uses: stefanzweifel/git-auto-commit-action@v5

- name: "Add summary"
run: |
echo "## Build result" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 4c6d10e

Please sign in to comment.