Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brucexu-eth authored Jan 19, 2025
1 parent b3a4198 commit 1f18838
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -29,12 +29,12 @@ jobs:
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: Deploy to dokku
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: api.eip.fun
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
/home/ubuntu/apps/api.eips.fun.sh 653640199626.dkr.ecr.us-west-2.amazonaws.com/eipsfun:${{ github.sha }}
/root/apps/api.eip.fun.sh 653640199626.dkr.ecr.us-west-2.amazonaws.com/eipsfun:${{ github.sha }}

0 comments on commit 1f18838

Please sign in to comment.