Skip to content

Commit

Permalink
retry deploy ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
Isak-Kallini committed Feb 23, 2025
1 parent 130897a commit c95d813
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,28 @@ jobs:
files: build.zip

- name: Copy build to server
uses: appleboy/scp-action@v0.1.7
uses: Wandalen/wretry.action@master
with:
host: web-beta
proxy_host: hyacinth.blossom.dsek.se
username: web-ci
key: ${{ secrets.DEPLOY_SSH_KEY }}
proxy_key: ${{ secrets.DEPLOY_SSH_KEY }}
source: "build.zip"
target: /var/www
action: appleboy/scp-action@v0.1.7v
attempt_limit: 15
with: |
host: web-beta
proxy_host: hyacinth.blossom.dsek.se
username: web-ci
key: ${{ secrets.DEPLOY_SSH_KEY }}
proxy_key: ${{ secrets.DEPLOY_SSH_KEY }}
source: "build.zip"
target: /var/www
- name: Deploy website on server
uses: appleboy/ssh-action@v1.2.1
uses: Wandalen/wretry.action@master
with:
host: web-beta
proxy_host: hyacinth.blossom.dsek.se
username: web-ci
key: ${{ secrets.DEPLOY_SSH_KEY }}
proxy_key: ${{ secrets.DEPLOY_SSH_KEY }}
script_path: ./prod/deploy-script.sh
action: appleboy/ssh-action@v1.2.1
attempt_limit: 15
with: |
host: web-beta
proxy_host: hyacinth.blossom.dsek.se
username: web-ci
key: ${{ secrets.DEPLOY_SSH_KEY }}
proxy_key: ${{ secrets.DEPLOY_SSH_KEY }}
script_path: ./prod/deploy-script.sh

0 comments on commit c95d813

Please sign in to comment.