{"id":38420376,"url":"https://github.com/lr0pb/deploy-pages","last_synced_at":"2026-01-17T04:14:03.079Z","repository":{"id":65545827,"uuid":"594168615","full_name":"lr0pb/deploy-pages","owner":"lr0pb","description":"🛠️ GitHub Action for build any JS/TS app and deploy it on GitHub Pages 🚀","archived":false,"fork":false,"pushed_at":"2023-03-08T20:12:03.000Z","size":6,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-30T20:10:11.075Z","etag":null,"topics":["action","actions","build","build-automation","deploy","deployment","deployment-automation","pages"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lr0pb.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}},"created_at":"2023-01-27T19:02:35.000Z","updated_at":"2023-01-28T14:59:12.000Z","dependencies_parsed_at":"2023-02-15T17:05:29.409Z","dependency_job_id":null,"html_url":"https://github.com/lr0pb/deploy-pages","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"fdb8c4acdf061d0098d3904beb6c56aab38b8074"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lr0pb/deploy-pages","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lr0pb%2Fdeploy-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lr0pb%2Fdeploy-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lr0pb%2Fdeploy-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lr0pb%2Fdeploy-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lr0pb","download_url":"https://codeload.github.com/lr0pb/deploy-pages/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lr0pb%2Fdeploy-pages/sbom","scorecard":{"id":600677,"data":{"date":"2025-08-11","repo":{"name":"github.com/lr0pb/deploy-pages","commit":"fdb8c4acdf061d0098d3904beb6c56aab38b8074"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-21T00:20:44.069Z","repository_id":65545827,"created_at":"2025-08-21T00:20:44.069Z","updated_at":"2025-08-21T00:20:44.069Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28494556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["action","actions","build","build-automation","deploy","deployment","deployment-automation","pages"],"created_at":"2026-01-17T04:14:02.973Z","updated_at":"2026-01-17T04:14:03.054Z","avatar_url":"https://github.com/lr0pb.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛠️ Deploy app to GitHub Pages\n[![Latest release version](https://img.shields.io/github/v/release/lr0pb/deploy-pages?color=g\u0026label=Version\u0026logo=github)](https://github.com/lr0pb/deploy-pages/releases)\n\nBuild your JavaScript/TypeScript apps with GitHub Actions and deploy it to GitHub Pages.\nIf you are new into GitHub Actions read [this quick start guide](https://docs.github.com/en/actions/quickstart) first\n\n## Why\n- 🚀 Support any framework and build tool\n  \u003e You specify your own npm script that build your app, so you can use any tools you want, i.e React, Vue, webpack, Rollup etc.\n\n- ✅ Without creating additional commits\n  \u003e Deploy process provide build output directly to the GitHub Pages, so no need to create unnecessary commits\n\n- 🧹 Don't store build output in your repo\n  \u003e Because build output goes directly to Pages, there is no need to store it in repo. Add output folder to `.gitignore` file\n\n## Usage\n\nAdd following entry into your `jobs` list in workflow file\n```yaml\ndeploy:\n  runs-on: ubuntu-latest\n  permissions:\n    contents: read\n    pages: write\n    id-token: write\n  environment:\n    name: github-pages\n    url: ${{ steps.deployment.outputs.url }}\n  steps:\n    - name: Deploy app to GitHub Pages\n      uses: lr0pb/deploy-pages@v1\n      id: deployment\n      with:\n        node-version: 18.x\n        build-comand: 'build'\n        output-dir: 'dist'\n```\n\n## Action inputs and outputs\n### Inputs\nIt work like arguments for function and should set via `with` keyword in your `\u003cstep-name\u003e` that use this Action. All inputs are optional.\n\n| Name | Description | Default value |\n| --- | --- | --- |\n| `node-version` | Version of Node.js used to build your app | `lts/*`\u003cbr /\u003e(last LTS version) |\n| `build-comand` | NPM script from your `package.json` used to build your application | `build`\u003cbr /\u003e(will call `npm run build`) |\n| `output-dir` | Build output directory that will be published to GitHub Pages | `dist` |\n\n### Outputs\nOutput can be accessed in your workflow via `steps.\u003cid-of-your-step\u003e.outputs.\u003cproperty\u003e`\n\n| Name | Description |\n| --- | --- |\n| `url` | URL of hosted GitHub Pages environment, required to set as `github-pages` environment url |\n\n## Ready-to-use workflow file\nFull workflow file template for your deployment process:\n```yaml\nname: Deploy app\n\non:\n  push:\n    branches: ['main']\n  workflow_dispatch:\n\n# Allow one concurrent deployment\nconcurrency:\n  group: 'pages'\n  cancel-in-progress: true\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: read\n      pages: write\n      id-token: write\n    environment:\n      name: github-pages\n      url: ${{ steps.deployment.outputs.url }}\n    steps:\n      - name: Deploy app to GitHub Pages\n        uses: lr0pb/deploy-pages@v1\n        id: deployment\n        with:\n          node-version: 18.x\n          build-comand: 'build'\n          output-dir: 'dist'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flr0pb%2Fdeploy-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flr0pb%2Fdeploy-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flr0pb%2Fdeploy-pages/lists"}