Skip to content

Commit

Permalink
Create dist from GitHub ref and sha
Browse files Browse the repository at this point in the history
  • Loading branch information
thedave42 committed Apr 4, 2024
1 parent 455647b commit da87fb0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ jobs:
npm run-script build
- name: Add and commit Action dist
uses: EndBug/add-and-commit@v5
with:
author_name: Action workflow
author_email: [email protected]
message: "dist created from ${{ github.ref }} for sha (${{ github.sha }})"
run: |
git config --global user.name 'Action workflow'
git config --global user.email '[email protected]'
git add .
git commit -m "dist created from ${{ github.ref }} for sha (${{ github.sha }})"
git push origin main
env:
GITHUB_TOKEN: ${{ secrets.DIST_TOKEN }}

0 comments on commit da87fb0

Please sign in to comment.