Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bklaing2 committed Jun 25, 2024
1 parent 26a2434 commit 9978a22
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_dist_on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ jobs:
- name: Build project
run: yarn build

- name: Check for changes in dist
id: check_changes
run: |
if [ -n "$(git status --porcelain dist)" ]; then
echo "dist has changed"
echo "::set-output name=changed::true"
else
echo "dist is unchanged"
echo "::set-output name=changed::false"
fi
- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
Expand Down

0 comments on commit 9978a22

Please sign in to comment.