{"id":15512524,"url":"https://github.com/piotrmurach/static_deploy","last_synced_at":"2025-07-05T22:36:38.623Z","repository":{"id":8665215,"uuid":"10320863","full_name":"piotrmurach/static_deploy","owner":"piotrmurach","description":"Automate deployment of static websites","archived":false,"fork":false,"pushed_at":"2022-08-07T21:34:48.000Z","size":21,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T19:27:14.023Z","etag":null,"topics":["deployment","ruby","rubygem","static-site-building"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-27T19:06:47.000Z","updated_at":"2022-07-06T21:25:21.000Z","dependencies_parsed_at":"2022-07-08T06:20:42.743Z","dependency_job_id":null,"html_url":"https://github.com/piotrmurach/static_deploy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/static_deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Fstatic_deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Fstatic_deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Fstatic_deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Fstatic_deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/static_deploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Fstatic_deploy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259470951,"owners_count":22862999,"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","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","ruby","rubygem","static-site-building"],"created_at":"2024-10-02T09:53:41.763Z","updated_at":"2025-06-12T13:09:25.330Z","avatar_url":"https://github.com/piotrmurach.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# StaticDeploy\n\n[![Gem Version](https://badge.fury.io/rb/static_deploy.svg)][gem]\n[![Build Status](https://secure.travis-ci.org/piotrmurach/static_deploy.svg?branch=master)][travis]\n\n[gem]: http://badge.fury.io/rb/static_deploy\n[travis]: http://travis-ci.org/piotrmurach/static_deploy\n\n\u003e Rake tasks to ease publishing a static website via git to a remote repository (e.g. GitHub pages).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'static_deploy'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install static_deploy\n\n## Usage\n\nIn `Rakefile` add the following:\n\n```ruby\nrequire 'static_deploy'\n\nENV['GENERATOR'] = 'jekyll'  # =\u003e static website generator executable\nENV['COMMAND']   = 'build'   # =\u003e command for building a project, defaults to 'build'\n```\n\nWhen deploying inside the current repository, git defaults are used to get username and repository name:\n\n```ruby\nbundle exec rake site:publish\n```\n\nOtherwise, to publish to remote branch in the different repository do:\n\n```ruby\nbundle exec rake site:publish[\"username/repository\"]\n```\n\nAs a convenience you may want to add the following rake task to your `Rakefile`:\n\n```ruby\ndesc 'publish this site'\ntask :publish do\n  Rake::Task['site:publish'].invoke(\"username/repository\")\nend\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Code of Conduct\n\nEveryone interacting in the StaticDeploy project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/piotrmurach/static_deploy/blob/master/CODE_OF_CONDUCT.md).\n\n## Copyright\n\nCopyright (c) 2013 Piotr Murach. See LICENSE for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmurach%2Fstatic_deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrmurach%2Fstatic_deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmurach%2Fstatic_deploy/lists"}