Skip to content

Commit

Permalink
Fix dist folder not being updated
Browse files Browse the repository at this point in the history
This was due to bug caused by `git status` not showing the now ignored
`/dist` folder. The command is updated to include the ignored files,
this should automate updating `dist/` folder and its visibility on CDN.
  • Loading branch information
undergroundwires committed Jan 18, 2025
1 parent 8124f57 commit 31ebf4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: npm run compile
- name: Amend dist folder to the commit
run: |-
if [[ -z $(git status -s) ]]; then
if [[ -z $(git status -s dist/ --ignored) ]]; then
echo 'There are no changes in the distribution (dist folder)'
exit 0
fi
Expand Down

0 comments on commit 31ebf4f

Please sign in to comment.