Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sand4rt/ftp-deployer
Simple SFTP / FTP deployment with NodeJS.
https://github.com/sand4rt/ftp-deployer
deployment ftp ftps github-actions
Last synced: 4 months ago
JSON representation
Simple SFTP / FTP deployment with NodeJS.
- Host: GitHub
- URL: https://github.com/sand4rt/ftp-deployer
- Owner: sand4rt
- License: mit
- Created: 2020-01-30T13:20:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T11:07:48.000Z (10 months ago)
- Last Synced: 2024-10-05T09:45:53.276Z (4 months ago)
- Topics: deployment, ftp, ftps, github-actions
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/ftp-deployer
- Size: 1.09 MB
- Stars: 47
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub action - SFTP / FTP deployer
Simple SFTP / FTP deployment with NodeJS.
## Example
``` yml
- name: FTP Deployer
uses: sand4rt/[email protected]
with:
sftp: false # optional
host: ${{ secrets.FTP_HOST }} # e.g. ftp.host.com or sftp.host.com (without ftp:// or ftps://)
port: 21 # optional, default is: 21
username: ${{ secrets.FTP_USERNAME }} # FTP username
password: ${{ secrets.FTP_PASSWORD }} # FTP password
remote_folder: ${{ secrets.FTP_REMOTE_FOLDER }} # optional, remote path of your FTP server
local_folder: dist # optional, local path, default is: dist
cleanup: false # optional, remove existing files inside FTP remote folder
include: '[]' # optional, e.g. '['dist']'
exclude: '[]' # optional, e.g. '['node_modules/**', '.git/**', '*.env']'
passive: true # optional
```