mirror of
https://github.com/wlixcc/SFTP-Deploy-Action.git
synced 2026-10-05 18:51:30 +00:00
doc: refined example and changed versions
This commit is contained in:
1 parent
74f82cb508
commit
a2526c619d
1 file changed
+7
-7
@@ -45,7 +45,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
with:
|
with:
|
||||||
username: 'root'
|
username: 'root'
|
||||||
server: 'your server ip'
|
server: 'your server ip'
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy with Exclude Patterns
|
- name: Deploy with Exclude Patterns
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
with:
|
with:
|
||||||
username: 'root'
|
username: 'root'
|
||||||
server: 'your server ip'
|
server: 'your server ip'
|
||||||
@@ -98,7 +98,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy with Password
|
- name: Deploy with Password
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.FTP_USERNAME }}
|
username: ${{ secrets.FTP_USERNAME }}
|
||||||
server: ${{ secrets.FTP_SERVER }}
|
server: ${{ secrets.FTP_SERVER }}
|
||||||
@@ -117,13 +117,13 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
deploy_job:
|
deploy_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Deploy with Password
|
name: Deploy with encrypted private key
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Deploy with Password
|
- name: Deploy with encrypted private key
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.FTP_USERNAME }}
|
username: ${{ secrets.FTP_USERNAME }}
|
||||||
server: ${{ secrets.FTP_SERVER }}
|
server: ${{ secrets.FTP_SERVER }}
|
||||||
@@ -156,7 +156,7 @@ jobs:
|
|||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Deploy Build Folder
|
- name: Deploy Build Folder
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.2.5
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
with:
|
with:
|
||||||
username: 'root'
|
username: 'root'
|
||||||
server: '${{ secrets.SERVER_IP }}'
|
server: '${{ secrets.SERVER_IP }}'
|
||||||
|
|||||||
Reference in new issue
Block a user