Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed Jul 13, 2023
1 parent b2f68ff commit 9d59c0c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:
publish_branch: release
publish_dir: ./dist

- name: Exec deploy script with SSH
uses: appleboy/ssh-action@master
with:
command_timeout: 10m
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: sh ${{ secrets.WWW_PATH }}/scripts/deploy.sh
# - name: Exec deploy script with SSH
# uses: appleboy/ssh-action@master
# with:
# command_timeout: 10m
# host: ${{ secrets.HOST }}
# username: ${{ secrets.USER }}
# key: ${{ secrets.KEY }}
# script: sh ${{ secrets.WWW_PATH }}/scripts/deploy.sh

0 comments on commit 9d59c0c

Please sign in to comment.