Skip to content

Commit 2a5d7a5

Browse files
updates
1 parent a59b94b commit 2a5d7a5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020

2121
- name: Build and push Docker image
2222
run: |
23-
docker build -t yourusername/yourapp:latest .
24-
docker push yourusername/yourapp:latest
23+
docker build -t utkarshs7/ourawork:latest .
24+
docker push utkarshs7/ourawork:latest
2525
2626
- name: SSH and update on droplet
2727
uses: appleboy/[email protected]
2828
with:
29-
host: ${{ secrets.DO_SSH_HOST }}
30-
username: ${{ secrets.DO_SSH_USER }}
31-
key: ${{ secrets.DO_SSH_KEY }}
29+
host: 167.99.235.200
30+
username: root
31+
password: 6GypPLqpN=tp8$G
3232
script: |
33-
docker pull yourusername/yourapp:latest
34-
cd /root/yourapp
33+
docker pull utkarshs7/ourawork:latest
34+
cd /root/ourawork
3535
docker compose down
3636
docker compose up -d

0 commit comments

Comments
 (0)