From b1545f360eb1123ed852dfd408cfe82bdb519a8a Mon Sep 17 00:00:00 2001 From: KarimAziev Date: Sat, 17 Aug 2024 14:30:00 +0300 Subject: [PATCH] ci: fix source code zipping in deploy workflow --- .github/workflows/deploy-extension.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/deploy-extension.yml b/.github/workflows/deploy-extension.yml index d6f0679..b1c5d07 100644 --- a/.github/workflows/deploy-extension.yml +++ b/.github/workflows/deploy-extension.yml @@ -124,11 +124,8 @@ jobs: cd .. - name: Zip the source code for submission run: | - cd .. SOURCE_ZIP_NAME="source-code-${{ steps.update-version.outputs.NEW_VERSION }}.zip" - zip -r "${SOURCE_ZIP_NAME}" \ - webpack.config.js tsconfig.json README.md .nvmrc LICENSE CHANGELOG.md .prettierrc.js .gitignore \ - chrome docs firefox package.json package-lock.json jest.environment.ts jest.config.ts src __tests__ images icons chrome-emacs.gif + zip -r "${SOURCE_ZIP_NAME}" . -x ".git/*" -x ".github/*" echo "SOURCE_ZIPPED_FILE=${SOURCE_ZIP_NAME}" >> $GITHUB_ENV - name: Upload Chrome zipped app as artifact uses: actions/upload-artifact@v4