{"id":24703732,"url":"https://github.com/airvzxf/ftp-deployment-action","last_synced_at":"2025-10-09T09:30:46.412Z","repository":{"id":42441878,"uuid":"295041459","full_name":"airvzxf/ftp-deployment-action","owner":"airvzxf","description":"FTP Deployment: This GitHub action copy the files via FTP from your Git project to your server in a specific path.","archived":false,"fork":false,"pushed_at":"2025-10-06T00:05:16.000Z","size":72,"stargazers_count":36,"open_issues_count":20,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T02:25:20.067Z","etag":null,"topics":["deployment","ftp","github-action","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/airvzxf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-12T23:11:00.000Z","updated_at":"2025-06-05T05:40:06.000Z","dependencies_parsed_at":"2024-01-24T23:23:57.860Z","dependency_job_id":"f5177a98-d9eb-48cc-8bf6-68e7d07f0635","html_url":"https://github.com/airvzxf/ftp-deployment-action","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"9efe025c218094bd451a0cb684d7cb471f4d9d4f"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/airvzxf/ftp-deployment-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airvzxf%2Fftp-deployment-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airvzxf%2Fftp-deployment-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airvzxf%2Fftp-deployment-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airvzxf%2Fftp-deployment-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/airvzxf","download_url":"https://codeload.github.com/airvzxf/ftp-deployment-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/airvzxf%2Fftp-deployment-action/sbom","scorecard":{"id":173775,"data":{"date":"2025-08-11","repo":{"name":"github.com/airvzxf/ftp-deployment-action","commit":"5483542d9d0055601ff0bf09c1e552f3a95c9ff8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 3/27 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.18.5 to alpine:3.18.5@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T17:12:27.081Z","repository_id":42441878,"created_at":"2025-08-16T17:12:27.081Z","updated_at":"2025-08-16T17:12:27.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001135,"owners_count":26083022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment","ftp","github-action","github-actions"],"created_at":"2025-01-27T05:59:20.424Z","updated_at":"2025-10-09T09:30:46.098Z","avatar_url":"https://github.com/airvzxf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FTP Deployment: GitHub Action\n\nThis GitHub action copies the files via FTP from your Git project to your server in a specific path.\n\n## Usage Example\n\nAdd this code in `./.github/workflows/your_action.yml`.\n\nMore about GitHub \"secrets\" in this article:\n[Creating and storing encrypted secrets][1].\n\n```yaml\nname: CI -\u003e Deploy to My website\non:\n  push:\n    branches: [ main, development ]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      # Here is the deployment action\n      - name: Upload from public_html via FTP\n        uses: airvzxf/ftp-deployment-action@latest\n        with:\n          server: ${{ secrets.FTP_SERVER }}\n          user: ${{ secrets.FTP_USERNAME }}\n          password: ${{ secrets.FTP_PASSWORD }}\n          local_dir: \"./public_html\"\n```\n\nOptionally, you can get the live version which has the last commits using the `master` branch like this:\n`uses: airvzxf/ftp-deployment-action@master`.\n\n## Settings\n\nUsually the zero values mean unlimited or infinite. This table is based on the default values on `lftp-4.9.2`.\n\n| Option              | Description                                                                           | Required | Default | Example                                                                                           |\n|---------------------|---------------------------------------------------------------------------------------|----------|---------|---------------------------------------------------------------------------------------------------|\n| server              | FTP Server.                                                                           | Yes      | N/A     | rovisoft.net                                                                                      |\n| user                | FTP Username.                                                                         | Yes      | N/A     | myself@rovisoft.net                                                                               |\n| password            | FTP Password.                                                                         | Yes      | N/A     | ExampleOnlyAlphabets                                                                              |\n| local_dir           | Local directory.                                                                      | No       | \"./\"    | \"./public_html\"                                                                                   |\n| remote_dir          | Remote directory.                                                                     | No       | \"./\"    | \"/www/user/home\"                                                                                  |\n| max_retries         | Times that the `lftp` command will be executed if an error occurred.                  | No       | 10      | N/A                                                                                               |\n| delete              | Delete all the files inside of the remote directory before the upload process.        | No       | false   | N/A                                                                                               |\n| no_symlinks         | Do not create symbolic links.                                                         | No       | false   | N/A                                                                                               |\n| mirror_verbose      | Mirror verbosity level.                                                               | No       | 1       | N/A                                                                                               |\n| ftp_ssl_allow       | FTP - Allow SSL encryption                                                            | No       | true    | N/A                                                                                               |\n| ftp_use_feat        | FTP - FEAT: Determining what extended features the FTP server supports.               | No       | true    | N/A                                                                                               |\n| ftp_nop_interval    | FTP - Delay in seconds between NOOP commands when downloading tail of a file.         | No       | 2       | N/A                                                                                               |\n| net_max_retries     | NET - Maximum number of operation without success.\u003cbr\u003e 0 unlimited.\u003cbr\u003e 1 no retries. | No       | 1       | N/A                                                                                               |\n| net_persist_retries | NET - Ignore hard errors.\u003cbr\u003e When reply 5xx errors or there is too many users.       | No       | 5       | N/A                                                                                               |\n| net_timeout         | NET - Sets the network protocol timeout.                                              | No       | 15s     | N/A                                                                                               |\n| dns_max_retries     | DNS - 0 no limit trying to lookup an address otherwise try only this number of times. | No       | 8       | N/A                                                                                               |\n| dns_fatal_timeout   | DNS - Time for DNS queries.\u003cbr\u003e Set to \"never\" to disable.                            | No       | 10s     | N/A                                                                                               |\n| lftp_settings       | Any other settings that you find in the MAN pages for the LFTP package.               | No       | \"\"      | \"set cache:cache-empty-listings true; set cmd:status-interval 1s; set http:user-agent 'firefox';\" |\n\nMore information on the official site for [lftp - Manual pages][2].\n\nExample with NO DEFAULT settings:\n\n```yaml\nname: CI -\u003e Deploy to My website\non:\n  push:\n    branches: [ main, development ]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      # Here is the deployment action\n      - name: Upload from public_html via FTP\n        uses: airvzxf/ftp-deployment-action@latest\n        with:\n          server: ${{ secrets.FTP_SERVER }}\n          user: ${{ secrets.FTP_USERNAME }}\n          password: ${{ secrets.FTP_PASSWORD }}\n          local_dir: \"./public_html\"\n          remote_dir: \"/www/sub-domain/games/myself\"\n          delete: \"true\"\n          max_retries: \"7\"\n          no_symlinks: \"false\"\n          ftp_ssl_allow: \"true\"\n          ftp_use_feat: \"true\"\n          ftp_nop_interval: \"9\"\n          net_max_retries: \"0\"\n          net_persist_retries: \"11\"\n          net_timeout: \"13s\"\n          dns_max_retries: \"17\"\n          dns_fatal_timeout: \"never\"\n          lftp_settings: \"set cache:cache-empty-listings true; set cmd:status-interval 1s; set http:user-agent 'firefox';\"\n```\n\n## NOTES\n\nMain features:\n\n- Copy all the files inside the specific folder from your GitHub repository to the specific folder in your server.\n- Option to delete all the files in the specific remote folder before the upload.\n- Using Alpine container means small size and faster creation of the container.\n- Show messages in the console logs for every executed command.\n\nTODOs:\n\n- Add options for exclude delete files.\n- Take all the logs from the Linux container then attach all into the Workflow Artifacts, to review unknown errors.\n\n[1]: https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets\n\n[2]: https://lftp.yar.ru/lftp-man.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairvzxf%2Fftp-deployment-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fairvzxf%2Fftp-deployment-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fairvzxf%2Fftp-deployment-action/lists"}