From da87fb0a72c9b5c19bfa40a93c0296e498dd280e Mon Sep 17 00:00:00 2001 From: Dave Bloom Date: Thu, 4 Apr 2024 11:44:30 -0700 Subject: [PATCH] Create dist from GitHub ref and sha --- .github/workflows/build-dist.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-dist.yml b/.github/workflows/build-dist.yml index b3f2cce..f447280 100644 --- a/.github/workflows/build-dist.yml +++ b/.github/workflows/build-dist.yml @@ -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: dave@digitalnoise.net - message: "dist created from ${{ github.ref }} for sha (${{ github.sha }})" + run: | + git config --global user.name 'Action workflow' + git config --global user.email 'dave@digitalnoise.net' + git add . + git commit -m "dist created from ${{ github.ref }} for sha (${{ github.sha }})" + git push origin main env: GITHUB_TOKEN: ${{ secrets.DIST_TOKEN }}