-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db975f4
commit 0ce8147
Showing
5 changed files
with
57 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ this is a github action script for upload files to server via SFTP protocol. | |
|
||
```yml | ||
- name: SFTP uploader | ||
uses: wangyucode/[email protected].1 | ||
uses: wangyucode/[email protected].2 | ||
with: | ||
host: 'wycode.cn' | ||
password: ${{ secrets.password }} | ||
|
@@ -43,7 +43,7 @@ this is a github action script for upload files to server via SFTP protocol. | |
```yml | ||
- name: SFTP uploader | ||
uses: wangyucode/[email protected].1 | ||
uses: wangyucode/[email protected].2 | ||
with: | ||
host: 'wycode.cn' | ||
privateKey: ${{ secrets.key }} | ||
|
@@ -66,7 +66,7 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: 📂 SFTP uploader # Upload to SFTP | ||
uses: wangyucode/[email protected].1 | ||
uses: wangyucode/[email protected].2 | ||
with: | ||
host: ${{ secrets.HOST }} # Recommended to put the credentials in github secrets. | ||
username: ${{ secrets.USER }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters