Skip to content

Commit

Permalink
SB-28 (Fix) : Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyuung authored Aug 3, 2024
1 parent 938680e commit b5b822a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Build and push Docker images
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.yml push
docker compose -f docker-compose.yml build
docker compose -f docker-compose.yml push
- name: Deploy to Server
uses: appleboy/[email protected]
Expand All @@ -44,6 +44,6 @@ jobs:
port: ${{ secrets.SSH_PORT }}
script: |
cd /home/${{ secrets.SERVER_USERNAME }}/Baobab-SERVER
docker-compose down
docker-compose pull
docker-compose up -d
docker compose down
docker compose pull
docker compose up -d

0 comments on commit b5b822a

Please sign in to comment.