Skip to content

Uses git-ftp and GitHub actions to deploy a GitHub repository to a FTP server.

License

Notifications You must be signed in to change notification settings

kassemz/git-ftp-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-ftp-action

Uses git-ftp and GitHub actions to deploy a GitHub repository to a FTP server.

Example usage

name: Deploy via git-ftp
on: push
jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: git-ftp push
      uses: sebastianpopp/git-ftp-action@releases/v2
      with:
        url: "ftp://ftp.example.com/path/"
        user: ${{ secrets.FTP_USER }}
        password: ${{ secrets.FTP_PWD }}

Input parameters

Input parameter Description Required Default
url git-ftp url (see documentation for more info) Yes N/A
user FTP username Yes N/A
password FTP password Yes N/A
syncroot Specifies a local directory to sync from as if it were the git project root path. No .

About

Uses git-ftp and GitHub actions to deploy a GitHub repository to a FTP server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 58.7%
  • Shell 41.3%