Skip to content

Commit

Permalink
fixed ssh version errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxada committed Aug 22, 2023
1 parent dcedc60 commit ce21eff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

steps:
- uses: actions/checkout@v3
Expand All @@ -45,7 +44,7 @@ jobs:
path: build

- name: remove old build
uses: appleboy/ssh-action@0.1.10
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.DROPLET_IP_ADDRESS }}
username: ${{ secrets.SSHUSERNAME }}
Expand All @@ -64,7 +63,7 @@ jobs:
remote: "/var/www/gh-copilot/"

- name: restart nginx
uses: appleboy/ssh-action@0.1.10
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.DROPLET_IP_ADDRESS }}
username: ${{ secrets.SSHUSERNAME }}
Expand Down

0 comments on commit ce21eff

Please sign in to comment.