Skip to content

Commit

Permalink
chore: fixed workflow for push
Browse files Browse the repository at this point in the history
  • Loading branch information
saurav0705 committed Mar 14, 2024
1 parent a9f55c5 commit fbf0a25
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,8 @@ jobs:
yarn build
yarn package
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff

- name: commit to main
shell: bash
run: |
git commit -m "feat: updated dist"
git push origin -f ${{github.ref}}
git push origin ${{github.ref}}

0 comments on commit fbf0a25

Please sign in to comment.