Fix CI/CD deploy: use stack.env for Portainer-managed stacks
Some checks failed
Build and Deploy UMBRA / build-and-deploy (push) Failing after 49s
Some checks failed
Build and Deploy UMBRA / build-and-deploy (push) Failing after 49s
Portainer stores environment variables in stack.env, not .env. Add --env-file stack.env to compose commands in the deploy step. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3496cf0f26
commit
c96004f91d
@ -48,8 +48,8 @@ jobs:
|
|||||||
-v ${{ vars.DEPLOY_PATH }}:/deploy \
|
-v ${{ vars.DEPLOY_PATH }}:/deploy \
|
||||||
-w /deploy \
|
-w /deploy \
|
||||||
docker:27-cli sh -c "
|
docker:27-cli sh -c "
|
||||||
docker compose -p umbra pull backend frontend &&
|
docker compose -p umbra --env-file stack.env pull backend frontend &&
|
||||||
docker compose -p umbra up -d db backend frontend
|
docker compose -p umbra --env-file stack.env up -d db backend frontend
|
||||||
"
|
"
|
||||||
|
|
||||||
- name: Health check
|
- name: Health check
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user