Coder Social home page Coder Social logo

bwcxyk / ftp-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sebastianpopp/ftp-action

0.0 0.0 0.0 9 KB

Automate copying your files via FTP using this GitHub action.

Home Page: https://github.com/marketplace/actions/ftp-action

License: MIT License

Shell 63.87% Dockerfile 36.13%

ftp-action's Introduction

ftp-action

Automate copying your files via ftp using this GitHub action.

Example usage

name: Deploy via ftp
on: push
jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Upload ftp
      uses: sebastianpopp/ftp-action@releases/v2
      with:
        host: ${{ secrets.FTP_SERVER }}
        user: ${{ secrets.FTP_USERNAME }}
        password: ${{ secrets.FTP_PASSWORD }}
        localDir: "dist"
        remoteDir: "www"
        options: "--delete --asci"

Input parameters

Input parameter Description Required Default
host FTP server name Yes N/A
user FTP username Yes N/A
password FTP password Yes N/A
localDir The local directory to copy No .
remoteDir The remote directory to copy to No .
forceSsl Force SSL encryption No false
options Mirror command options No ''

ftp-action's People

Contributors

sebastianpopp avatar thijsniks avatar chrisdoernen avatar hsimah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.