Skip to content

Commit

Permalink
build: update deploy script to exclude additional directories and files
Browse files Browse the repository at this point in the history
  • Loading branch information
KarimAziev committed Aug 17, 2024
1 parent eab6e87 commit bdeb9ce
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,15 @@ jobs:
- name: Zip the source code for submission
run: |
SOURCE_ZIP_NAME="source-code-${{ steps.update-version.outputs.NEW_VERSION }}.zip"
zip -r "${SOURCE_ZIP_NAME}" . -x ".git/*" -x ".github/*" -x "node_modules/*"
zip -r "${SOURCE_ZIP_NAME}" . \
-x ".git/*" \
-x ".github/*" \
-x "node_modules/*" \
-x "*.zip" \
-x "chrome/scripts/*" \
-x "firefox/scripts/*" \
-x "chrome/images/*" \
-x "firefox/images/*"
echo "SOURCE_ZIPPED_FILE=${SOURCE_ZIP_NAME}" >> $GITHUB_ENV
- name: Upload Chrome zipped app as artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit bdeb9ce

Please sign in to comment.