Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
xerexcoded committed Apr 20, 2024
1 parent 74c11cb commit 268ad90
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:

- name: Build and Push Docker image
run: |
docker build -t your-username/your-app .
docker build -t xeera/prag .
docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} -p ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
docker push your-username/your-app
docker push xeera/prag
- name: Deploy to Linode
uses: appleboy/ssh-action@master
Expand All @@ -25,7 +25,7 @@ jobs:
username: ${{ secrets.LINODE_USERNAME }}
key: ${{ secrets.LINODE_SSH_KEY }}
script: |
docker pull your-username/your-app
docker stop your-app || true
docker rm your-app || true
docker run -d --name your-app -p 80:8501 your-username/your-app
docker pull xeera/prag
docker stop prag || true
docker rm prag || true
docker run -d --name prag -p 80:8501 xeera/prag

0 comments on commit 268ad90

Please sign in to comment.