From e71258a5cacd563518cbec408ecb6a286b3347c0 Mon Sep 17 00:00:00 2001 From: Jura Khrapunov Date: Wed, 25 Oct 2023 16:06:45 -0400 Subject: [PATCH] Update publish-assets-package.yml --- .github/workflows/publish-assets-package.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-assets-package.yml b/.github/workflows/publish-assets-package.yml index 881a71150..0ad30ef18 100644 --- a/.github/workflows/publish-assets-package.yml +++ b/.github/workflows/publish-assets-package.yml @@ -27,6 +27,10 @@ jobs: - name: Create package.json for assets package run: | echo "{\"name\": \"@undp/design-system-assets\", \"version\": \"${{ steps.package-version.outputs.current-version}}\"}" > docs/package.json + # Exclude Github workflow definitions from NPM package + - name: Create .npmignore file + run: | + echo ".github" > docs/.npmignore # Push assets to their own repo - name: Push files to @undp/design-system-assets repo uses: cpina/github-action-push-to-another-repository@main