Skip to content

Commit

Permalink
Remove examples dirs before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankiesz committed Jan 10, 2025
1 parent 7ec5150 commit 65da65e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/master-publish-gh-pages-and-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- remove-examples-publishing
jobs:
publish-ubuntu-build:
runs-on: ubuntu-latest
Expand All @@ -25,7 +26,10 @@ jobs:
branch: gh-pages
clean: true
clean-exclude: develop/
- name: Delete examples directories
run: rm -rf examples dist/examples
- name: Deploy to npm packages
uses: JS-DevTools/npm-publish@v1
with:
token: '${{ secrets.NPM_TOKEN }}'
dry-run: true

0 comments on commit 65da65e

Please sign in to comment.