mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2024-12-22 18:59:49 +01:00
update readme and license
This commit is contained in:
parent
1204235acf
commit
eb75c5cb29
2 changed files with 4 additions and 5 deletions
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2019 Sebastian Popp
|
Copyright (c) 2020 Sebastian Popp and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -12,14 +12,13 @@ jobs:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@v2
|
||||||
- name: Upload ftp
|
- name: Upload ftp
|
||||||
uses: sebastianpopp/ftp-action@releases/v1
|
uses: sebastianpopp/ftp-action@releases/v2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.FTP_SERVER }}
|
host: ${{ secrets.FTP_SERVER }}
|
||||||
user: ${{ secrets.FTP_USERNAME }}
|
user: ${{ secrets.FTP_USERNAME }}
|
||||||
password: ${{ secrets.FTP_PASSWORD }}
|
password: ${{ secrets.FTP_PASSWORD }}
|
||||||
forceSsl: true
|
|
||||||
localDir: "dist"
|
localDir: "dist"
|
||||||
remoteDir: "www"
|
remoteDir: "www"
|
||||||
```
|
```
|
||||||
|
@ -31,6 +30,6 @@ Input parameter | Description | Required | Default
|
||||||
host | FTP server name | Yes | N/A
|
host | FTP server name | Yes | N/A
|
||||||
user | FTP username | Yes | N/A
|
user | FTP username | Yes | N/A
|
||||||
password | FTP password | Yes | N/A
|
password | FTP password | Yes | N/A
|
||||||
forceSsl | Force SSL encryption | No | false
|
|
||||||
localDir | The local directory to copy | No | .
|
localDir | The local directory to copy | No | .
|
||||||
remoteDir | The remote directory to copy to | No | .
|
remoteDir | The remote directory to copy to | No | .
|
||||||
|
forceSsl | Force SSL encryption | No | false
|
||||||
|
|
Loading…
Reference in a new issue