Skip to content

Commit

Permalink
.github/workflows/deploy.yml enable docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed May 24, 2024
1 parent 4a3c0ff commit 65b4b62
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
echo "ANYBOT_PORT=${{ matrix.anybotPort }}" >> .env
echo "TIMER_TRIGGER_PORT=${{ matrix.timerTriggerPort }}" >> .env
# - name: restart docker compose
# run: |
# docker-compose stop
# docker system prune --all --volumes --force
# docker-compose up -d
- name: restart docker compose
if: ${{ github.ref == matrix.branch }}
run: |
docker-compose stop
docker system prune --all --volumes --force
docker-compose up -d

0 comments on commit 65b4b62

Please sign in to comment.