Skip to content

Commit

Permalink
fix local environment calls when building a release
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Dec 8, 2024
1 parent d345d2a commit d200cf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d200cf3

Please sign in to comment.