{"id":15476536,"url":"https://github.com/glennmen/ploi-deploy-action","last_synced_at":"2025-08-20T20:32:13.802Z","repository":{"id":37856163,"uuid":"329029879","full_name":"Glennmen/ploi-deploy-action","owner":"Glennmen","description":"Deploy your application to Ploi with Github actions","archived":false,"fork":false,"pushed_at":"2025-07-17T15:57:43.000Z","size":77,"stargazers_count":46,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-03T02:18:20.470Z","etag":null,"topics":["deploy","deployment","ploi"],"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/Glennmen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-12T15:29:49.000Z","updated_at":"2025-05-16T14:54:10.000Z","dependencies_parsed_at":"2025-03-03T22:36:57.617Z","dependency_job_id":null,"html_url":"https://github.com/Glennmen/ploi-deploy-action","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":"0.32608695652173914","last_synced_commit":"0214533b00e16f54487294b226ba0279e178a0c6"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Glennmen/ploi-deploy-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glennmen%2Fploi-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glennmen%2Fploi-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glennmen%2Fploi-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glennmen%2Fploi-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Glennmen","download_url":"https://codeload.github.com/Glennmen/ploi-deploy-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Glennmen%2Fploi-deploy-action/sbom","scorecard":{"id":56894,"data":{"date":"2025-08-11","repo":{"name":"github.com/Glennmen/ploi-deploy-action","commit":"b57198152045bffcfd06013a412a4fc487f36882"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.7,"checks":[{"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":"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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/anchore-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/codacy-analysis.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/anchore-analysis.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/anchore-analysis.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/anchore-analysis.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/anchore-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/anchore-analysis.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/anchore-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codacy-analysis.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/codacy-analysis.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/codacy-analysis.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/codacy-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codacy-analysis.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/Glennmen/ploi-deploy-action/codacy-analysis.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.21.3 to alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":3,"reason":"SAST tool is not run on all commits -- score normalized to 3","details":["Warn: 11 commits out of 30 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-15T00:56:50.081Z","repository_id":37856163,"created_at":"2025-08-15T00:56:50.081Z","updated_at":"2025-08-15T00:56:50.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"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-08-20T02:00:09.606Z","response_time":69,"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":["deploy","deployment","ploi"],"created_at":"2024-10-02T03:40:21.182Z","updated_at":"2025-08-20T20:32:13.471Z","avatar_url":"https://github.com/Glennmen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ploi Deploy Action\n\nDeploy your application to Ploi with Github actions.\nThis action supports both the `Deploy webhook URL` found in the site repository tab and API based deployment.\n\n## Inputs\n\n### Webhook deployment\n\n#### `webhook_url`\n\n**Required** Deploy webhook URL.\n_It is advised to use Github secrets to keep your webhook URL private._\n\nThe webhook url can be found in your sites Repository tab.\n\n### API deployment\n\n#### `api_token`\n\n**Required** Ploi API token.\n_It is advised to use Github secrets to keep your API token private._\n\nThe API token can be found in Profile -\u003e API keys.\n\n#### `server_id`\n\n**Required** Ploi Server ID.\n\nServer ID can be found in your servers Settings tab.\n\n#### `site_id`\n\n**Required** Ploi Site ID.\n\nSite ID can be found in your sites Settings tab.\n\n## Basic workflows\n\n### Webhook deployment\n\n```yaml\nname: 'Deploy on push'\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  ploi-deploy:\n    name: 'Ploi Deploy'\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Trigger Ploi deploy webhook\n      - name: Deploy\n        uses: Glennmen/ploi-deploy-action@v1.2.0\n        with:\n          webhook_url: ${{ secrets.WEBHOOK_URL }}\n```\n\n### API deployment\n\n```yaml\nname: 'Deploy on push'\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  ploi-deploy:\n    name: 'Ploi Deploy'\n    runs-on: ubuntu-latest\n\n    steps:\n      # Checkout the repository to the GitHub Actions runner\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Trigger Ploi deploy api\n      - name: Deploy\n        uses: Glennmen/ploi-deploy-action@v1.2.0\n        with:\n          api_token: ${{ secrets.API_TOKEN }}\n          server_id: 1\n          site_id: 1\n```\n\n## Advanced workflows\n\nYou can find some common workflows in the [example's directory](examples/README.md).\n\n## Future updates\n\n* ~~Add API based deploy~~\n  * Flush FastCGI cache\n  * Restart daemon\n  * Restart service\n  * Refresh OPCache\n\nOther suggestions are welcome, please make an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglennmen%2Fploi-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglennmen%2Fploi-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglennmen%2Fploi-deploy-action/lists"}