Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
geleeroyale authored Aug 5, 2024
1 parent dfd5647 commit 5e6bbd9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ jobs:
context: .
push: true
tags: ghcr.io/giveth/givpower-bot:main
deploy:
needs: publish
runs-on: ubuntu-latest
steps:
- name: SSH and Redeploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_PRIVATEKEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd giveth-all
docker compose stop impact-graph
docker compose pull impact-graph
docker compose up -d impact-graph
docker image prune -a --force

0 comments on commit 5e6bbd9

Please sign in to comment.