Skip to content

Commit

Permalink
fix: workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Emerald-Wolf committed Mar 8, 2024
1 parent ab8d955 commit 705fd5d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
password: ${{ secrets.SERVER_PASSWORD }}

port: 22
script: |
cd devsoc-backend-24/
git pull origin main
sudo -S docker compose down
git pull origin main
sudo -S docker compose down
sudo -S docker compose up -d --build
# build-and-push:
# runs-on: ubuntu-latest
Expand All @@ -46,11 +47,11 @@ jobs:
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Push Docker image to Docker Hub
# run: |
# docker push shivam2002/bolt-backend:latest
# env:
# DOCKER_BUILDKIT: 1 # Enable BuildKit for improved build performance


0 comments on commit 705fd5d

Please sign in to comment.