Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khengyun authored Jan 4, 2024
1 parent c99ff7b commit c0052e0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy file
uses: wlixcc/[email protected]

- name: deploy
uses: pressidium/lftp-mirror-action@v1
with:
username: ${{ secrets.FTP_USERNAME }}
server: ${{ secrets.FTP_SERVER }}
host: ${{ secrets.FTP_SERVER }}
port: ${{ secrets.FTP_PORT }}
local_path: './app/*'
remote_path: '/home/container/'
sftp_only: true
password: ${{ secrets.FTP_PASSWORD }}
user: ${{ secrets.FTP_USERNAME }}
pass: ${{ secrets.FTP_PASSWORD }}
localDir: './app/*'
remoteDir: '/home/container/'
reverse: true

0 comments on commit c0052e0

Please sign in to comment.