From 76dc1b558cfecc398d2f949c051f29f9807885d9 Mon Sep 17 00:00:00 2001 From: Rafael Meneses Date: Thu, 12 Dec 2024 10:47:49 -0300 Subject: [PATCH] fix missing vendor --- .github/workflows/deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 956ebb2..c736789 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Build - run: composer install --no-dev --optimize-autoloader + # 10up/action-wordpress-plugin-deploy is not adding the vendor folder due to .gitignore so we need to add it manually + run: | + composer install --no-dev --optimize-autoloader + git add -f vendor && git commit -m "Add vendor folder" - name: WordPress Plugin Deploy uses: 10up/action-wordpress-plugin-deploy@stable with: