Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jjw24 authored May 4, 2024
1 parent aa222ae commit ddd5735
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/plugin-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,23 @@ jobs:
cd webcomponents
npm install
npm run build
git diff --exit-code
if [ $retVal -eq 1 ]; then
echo 'DIFF FOUND'
else
echo $'\nNo new updates'
fi
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist
git commit -m "Update web components build artifact"
- name: Put new build into the repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.UPDATER }}
branch: ${{ github.ref }}
git push
# - name: Put new build into the repo
# uses: ad-m/github-push-action@master
# with:
# github_token: ${{ secrets.UPDATER }}
# branch: ${{ github.ref }}

0 comments on commit ddd5735

Please sign in to comment.