Skip to content

Commit

Permalink
update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dmou committed Sep 23, 2024
1 parent d25052e commit 5e49338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
- name: Set up PR Tests
id: setup-tests
run: |
docker compose -f docker-test.yml exec -T pender test/setup-parallel
docker compose -f docker-test.yml exec -T -e DEPLOY_ENV=ci pender test/setup-parallel
- name: Run PR Tests
id: run-tests
Expand Down
2 changes: 1 addition & 1 deletion bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [ "${APP}" = 'pender' ] ; then
port ${SERVER_PORT}
EOF

if [ "${DEPLOY_ENV}" = 'local' || "${RAILS_ENV}" = 'test' ] ; then
if [ "${DEPLOY_ENV}" = 'local' ] || [ "${RAILS_ENV}" = 'test' ] ; then
rm -f "${DIRPATH}/pids/server-${DEPLOY_ENV}.pid"
bundle exec puma -C "${PUMA}"
else # qa, live etc
Expand Down

0 comments on commit 5e49338

Please sign in to comment.