Skip to content

Commit

Permalink
ci: try easingthemes/ssh-deploy@main
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Dec 10, 2023
1 parent f4c44fa commit 9dc9ba6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- name: Copy file via ssh key
uses: appleboy/scp-action@v0.1.4
uses: easingthemes/ssh-deploy@main
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSH_KEY }}
source: 'build'
target: /var/www/leetcode-trip
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USERNAME }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "build/"
TARGET: /var/www/leetcode-trip
- uses: actions/checkout@v4
- name: Algoria DocSearch Crawler
uses: darrenjennings/algolia-docsearch-action@master
Expand Down

0 comments on commit 9dc9ba6

Please sign in to comment.