{"id":32195700,"url":"https://github.com/akiroz/lein-skygear","last_synced_at":"2025-10-22T02:19:18.017Z","repository":{"id":62433378,"uuid":"69442268","full_name":"akiroz/lein-skygear","owner":"akiroz","description":"A leiningen plugin that automates cloud code deployment to skygear cloud","archived":false,"fork":false,"pushed_at":"2017-04-27T09:49:25.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-27T22:33:59.667Z","etag":null,"topics":["leiningen","skygear"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/akiroz.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":"2016-09-28T08:26:14.000Z","updated_at":"2016-09-28T14:10:37.000Z","dependencies_parsed_at":"2022-11-01T21:15:38.519Z","dependency_job_id":null,"html_url":"https://github.com/akiroz/lein-skygear","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akiroz/lein-skygear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiroz%2Flein-skygear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiroz%2Flein-skygear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiroz%2Flein-skygear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiroz%2Flein-skygear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akiroz","download_url":"https://codeload.github.com/akiroz/lein-skygear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akiroz%2Flein-skygear/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280365627,"owners_count":26318388,"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-22T02:00:06.515Z","response_time":63,"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":["leiningen","skygear"],"created_at":"2025-10-22T02:19:12.674Z","updated_at":"2025-10-22T02:19:18.013Z","avatar_url":"https://github.com/akiroz.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lein-skygear\n\n[![Clojars Project](https://img.shields.io/clojars/v/lein-skygear.svg)](https://clojars.org/lein-skygear)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/akiroz/lein-skygear/master/LICENSE)\n[![Build Status](https://travis-ci.org/akiroz/lein-skygear.svg?branch=master)](https://travis-ci.org/akiroz/lein-skygear)\n\nA leiningen plugin that automates cloud code deployment to skygear cloud\n\nNote: this plugin relies on `ssh` and `git` (\u003e= 2.3.0) on `$PATH`.\n\nThe git version is for ssh identity overriding, you may use an older version if this is not required.\n\n\n## Usage\n\nAdd the following to `project.clj`:\n\n```clojure\n\n:skygear {:dev {:git-url \"ssh://git@git.skygeario.com/\u003cyour-app\u003e.git\"\n                ;; optional, overrides default ssh identity\n                :ssh-key \"path/to/private_key\"\n                ;; provide either or both of the following\n                :source-dir \"path/to/cloud_code/src\"\n                :static-dir \"path/to/static/assets\"}\n          :release {...}}\n\n```\n\nA `__init__.py` file is expected in the `:source-dir` directory, otherwise deployment will fail.\n\nFiles inside `:static-dir` is copied to a folder named `public_html` in the cloud code repo\nand accessible from the internet with `\u003cyour-app\u003e.skygeario.com/static/`. If `:source-dir`\nis not specified, an empty `__init__.py` file will be created for you.\n\n\n### Deploy:\n\n```\n$ lein deploy-skygear   # default dev, OR:\n$ lein deploy-skygear release\n```\n\n### Travis CI:\n\nSince it is not trivial to get `git \u003e= 2.3.0` on the test containers, here's a workaround:\n\n```yaml\n\nbefore_deploy:\n  - cp path/to/private_key ~/.ssh/my_key\n  - chmod 600 ~/.ssh/my_key\n  - echo \"Host *\" \u003e\u003e ~/.ssh/config\n  - echo \"  StrictHostKeyChecking no\" \u003e\u003e ~/.ssh/config\n  - echo \"  IdentityFile ~/.ssh/my_key\" \u003e\u003e ~/.ssh/config\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiroz%2Flein-skygear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakiroz%2Flein-skygear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakiroz%2Flein-skygear/lists"}