Skip to content

Commit

Permalink
update deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Jan 8, 2024
1 parent 3deb821 commit b2d0d20
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Build the stack
run: |
export DOCKER_BUILDKIT=0
export COMPOSE_DOCKER_CLI_BUILD=0
docker-compose build
- name: start containers
run: docker-compose up -d

- name: show container and networks
run: docker network ls && docker ps -a

- name: run pytest
run: docker-compose run django pytest

- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -62,7 +47,3 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Stop containers
if: always()
run: docker-compose down

0 comments on commit b2d0d20

Please sign in to comment.