From d200cf3fdbe4f57fa01d175a76e939279393842c Mon Sep 17 00:00:00 2001 From: diosmosis Date: Sun, 8 Dec 2024 15:43:29 -0800 Subject: [PATCH] fix local environment calls when building a release --- .github/workflows/release.yml | 2 +- scripts/deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a74dc2044..e010f3df1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -100,7 +100,7 @@ jobs: - run: sleep 60 # wait for docker-compose launch to finish - run: npm run compose logs wordpress --no-color # for debugging failures to start - name: "Build releases" - run: npm run compose -- run console wordpress:build-release --name=${{ env.version }} --zip --tgz + run: npm run matomo:console -- console wordpress:build-release --name=${{ env.version }} --zip --tgz - name: "Create release" uses: ncipollo/release-action@c4bf6c1ab090090498fb7f3ddc9f99ba5ab619b9 with: diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 1bd34a9f0..c91e7a335 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -84,7 +84,7 @@ UID=$UID EOF docker compose --env-file .env.default --env-file .env up -d wordpress sleep 60 # wait for docker-compose launch to finish -npm run compose -- run console wordpress:build-release --name=$VERSION --tgz +npm run matomo:console -- wordpress:build-release --name=$VERSION --tgz echo "➤ Copying files..." tar -xf "matomo-$VERSION.tgz" --directory="$TMP_DIR" # the archive is created via the wordpress:build-release command