From 384170976138e75a9a54de6181e89224b84e76db Mon Sep 17 00:00:00 2001 From: Mark Kelnar <749603+markkelnar@users.noreply.github.com> Date: Wed, 30 Aug 2023 11:57:24 -0500 Subject: [PATCH] ignore the new directory from the zip --- .github/workflows/upload-plugin-zip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upload-plugin-zip.yml b/.github/workflows/upload-plugin-zip.yml index 395fe20..56d6ae5 100644 --- a/.github/workflows/upload-plugin-zip.yml +++ b/.github/workflows/upload-plugin-zip.yml @@ -20,7 +20,7 @@ jobs: # Create a zip file similar to 10up/action-wordpress-plugin-deploy action run: | mkdir wpgraphql-smart-cache - rsync -rc --exclude-from=.distignore . wpgraphql-smart-cache/ --delete --delete-excluded + rsync -rc --exclude-from=.distignore --exclude=wpgraphql-smart-cache . wpgraphql-smart-cache/ --delete --delete-excluded -v zip -r wpgraphql-smart-cache.zip wpgraphql-smart-cache rm -rf wpgraphql-smart-cache - name: Upload artifact