use SFTP instead
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
This commit is contained in:
@@ -16,13 +16,13 @@ jobs:
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- name: Copy files with SCP
|
||||
uses: appleboy/scp-action@v1
|
||||
- name: Copy files with SFTP
|
||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
server: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: 22
|
||||
source: "public/*"
|
||||
target: "www/"
|
||||
local_path: './public/*'
|
||||
rempote_path: 'www'
|
||||
sftp_only: true
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
||||
Reference in New Issue
Block a user