mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2024-12-22 10:49:48 +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
|
||||
|
||||
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
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -12,14 +12,13 @@ jobs:
|
|||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- name: Upload ftp
|
||||
uses: sebastianpopp/ftp-action@releases/v1
|
||||
uses: sebastianpopp/ftp-action@releases/v2
|
||||
with:
|
||||
host: ${{ secrets.FTP_SERVER }}
|
||||
user: ${{ secrets.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
forceSsl: true
|
||||
localDir: "dist"
|
||||
remoteDir: "www"
|
||||
```
|
||||
|
@ -31,6 +30,6 @@ Input parameter | Description | Required | Default
|
|||
host | FTP server name | Yes | N/A
|
||||
user | FTP username | Yes | N/A
|
||||
password | FTP password | Yes | N/A
|
||||
forceSsl | Force SSL encryption | No | false
|
||||
localDir | The local directory to copy | No | .
|
||||
remoteDir | The remote directory to copy to | No | .
|
||||
forceSsl | Force SSL encryption | No | false
|
||||
|
|
Loading…
Reference in a new issue