{"id":18060330,"url":"https://github.com/unbug/gitlab-pages-webhook","last_synced_at":"2026-03-07T10:31:46.383Z","repository":{"id":30156105,"uuid":"33706348","full_name":"unbug/gitlab-pages-webhook","owner":"unbug","description":"Set up your gitlab-pages server base on gitlab's web hook!","archived":false,"fork":false,"pushed_at":"2017-04-01T13:23:02.000Z","size":7,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-23T15:28:13.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/unbug.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":"2015-04-10T03:27:04.000Z","updated_at":"2016-11-09T02:14:44.000Z","dependencies_parsed_at":"2022-08-03T15:13:13.936Z","dependency_job_id":null,"html_url":"https://github.com/unbug/gitlab-pages-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unbug/gitlab-pages-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unbug%2Fgitlab-pages-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unbug%2Fgitlab-pages-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unbug%2Fgitlab-pages-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unbug%2Fgitlab-pages-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unbug","download_url":"https://codeload.github.com/unbug/gitlab-pages-webhook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unbug%2Fgitlab-pages-webhook/sbom","scorecard":{"id":908921,"data":{"date":"2025-08-11","repo":{"name":"github.com/unbug/gitlab-pages-webhook","commit":"39e288b7a136e20129369955b3f37cca745ad383"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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":"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"}}]},"last_synced_at":"2025-08-24T18:24:29.543Z","repository_id":30156105,"created_at":"2025-08-24T18:24:29.544Z","updated_at":"2025-08-24T18:24:29.544Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: 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":[],"created_at":"2024-10-31T04:07:45.482Z","updated_at":"2026-03-07T10:31:46.363Z","avatar_url":"https://github.com/unbug.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Readme\n=========\nGithub-pages is cool,but what about gitlab?This project helps you to set up a web hook server for your gitlab,so you can deoply your gitlab-pages,it's easier and powerful then your image,try it out.\n\nInstall\n==========\n```shell\nnpm install -g gitlab-pages-webhook\n```\n\nWeb hook server configuration\n================\n## Start a web hook server\n```shell\n//gitlab-pages-webhook [listen port] [gitlab host,...]\ngitlab-pages-webhook 8163 http://mygitlab.com,http://mygitlab2.com\n```\ngitlab hosts tells the hook to filter which host to listene,in this case,only gitlab host http://mygitlab.com and http://mygitlab2.com will deploy to your server,http://mygitlab3.com will not.\n\n## Set a nginx proxy to your web hook server,such as\n```shell\nserver {\n    listen 80;\n    server_name  myserver.com;\n    root /home;\n    index index.html index.htm;\n\n    error_page 405 =200 @405;\n    location @405{\n  \troot /home;\n\tproxy_method GET;\n    \tproxy_pass http://static_backend;\n    }\n    access_log  off;\n    error_log off;\n    location / {\n        # First attempt to serve request as file, then\n        # as directory, then fall back to displaying a 404.\n        try_files $uri $uri/ /index.html;\n        # Uncomment to enable naxsi on this location\n        #include /etc/nginx/naxsi.rules\n        #autoindex on;\n    }\n    location ~* ^/.*/$ {\n        #alias /usr/share/doc/;\n        #autoindex on;\n        #allow 127.0.0.1;\n        #allow ::1;\n        #deny all;\n    }\n    location /doc/ {\n        alias /usr/share/doc/;\n        autoindex on;\n        allow 127.0.0.1;\n        allow ::1;\n        deny all;\n    }\n    location /deploy/ {\n        proxy_pass http://127.0.0.1:8163;\n    }\n}\n```\n\nWeb Hook Guide\n===============\n\n## Add your web hook server URL to your repo\nYourPorject --\u003e Settings --\u003e Web Hooks --\u003e URL values is Your web hook server RUL --\u003e click \"Add web Hook\"。\n\n### Make sure your repo is Publick\nYourPorject --\u003e Settings --\u003e Edit Project --\u003e select Public mode: Public access。\n\n### deploy a branch(default is `master`) and a tag\nThe web hook server is `http://myserver.com/deploy/[?branch=branch1\u0026tag=v1.0.0]`\n\neg. switch to `branch1`\n\n```javascript\nhttp://myserver.com/deploy/?branch=branch1\n```\n\nswitch `branch1` and tag `v1.0.1`:\n\n```javascript\nhttp://myserver.com/deploy/?branch=branch1\u0026tag=v1.0.1\n```\n\n### use bower|grunt|gulp task\n```javascript\n//run bower update task\nhttp://myserver.com/deploy/?bower=update\n\n//run grunt default task，task name is required!\nhttp://myserver.com/deploy/?grunt=default\n\n//run gulp default task，task name is required!\nhttp://myserver.com/deploy/?gulp=default\n\n//run bower update then run gulp default task\nhttp://myserver.com/deploy/?bower=update\u0026gulp=default\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funbug%2Fgitlab-pages-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funbug%2Fgitlab-pages-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funbug%2Fgitlab-pages-webhook/lists"}