Skip to content

Commit

Permalink
ci: Add check for DJANGO_SETTINGS_MODULE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Feb 1, 2024
1 parent a835c76 commit 665dff8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ jobs:
build:
environment: test
runs-on: self-hosted
env:
DJANGO_SETTINGS_MODULE: ${{ vars.DJANGO_SETTINGS_MODULE }}
steps:
- uses: actions/checkout@v4
- name: Build Podman images
run: podman-compose -f docker-compose-deploy.yml build
- name: Deploy Podman images
run: podman-compose -f docker-compose-deploy.yml up -d --force-recreate
- name: Check Podman images
run: podman-compose -f docker-compose-deploy.yml ps
run: podman-compose -f docker-compose-deploy.yml ps
- name: Check if DJANGO_SETTINGS_MODULE is set
run: echo $DJANGO_SETTINGS_MODULE

0 comments on commit 665dff8

Please sign in to comment.