Skip to content

Commit

Permalink
ci: push frontend image before deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibov committed Nov 27, 2023
1 parent 120bfde commit 220bf5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: docker compose build

- name: Push docker images
run: docker compose push backend
run: docker compose push backend frontend

deploy:
needs: build-and-push
Expand All @@ -54,4 +54,4 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
# TODO: handle envs
script: |
docker compose -f AAISS-2023/docker-compose.yml up -d --pull always --force-recreate
docker compose -f AAISS-2023/docker-compose.yml up -d --pull always --force-recreate --no-build

0 comments on commit 220bf5c

Please sign in to comment.