{"id":15667550,"url":"https://github.com/jawnnypoo/dropbox-deployment","last_synced_at":"2025-05-06T19:47:19.264Z","repository":{"id":62557513,"uuid":"85454901","full_name":"Jawnnypoo/dropbox-deployment","owner":"Jawnnypoo","description":"Deploy your CI artifacts to Dropbox","archived":false,"fork":false,"pushed_at":"2019-02-22T22:12:30.000Z","size":18,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-26T01:57:11.963Z","etag":null,"topics":["ci","deployment","dropbox","ruby","travis-ci"],"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/Jawnnypoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-19T06:10:24.000Z","updated_at":"2022-05-22T13:24:28.000Z","dependencies_parsed_at":"2022-11-03T06:30:27.820Z","dependency_job_id":null,"html_url":"https://github.com/Jawnnypoo/dropbox-deployment","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jawnnypoo%2Fdropbox-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jawnnypoo%2Fdropbox-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jawnnypoo%2Fdropbox-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jawnnypoo%2Fdropbox-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jawnnypoo","download_url":"https://codeload.github.com/Jawnnypoo/dropbox-deployment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252757651,"owners_count":21799708,"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":["ci","deployment","dropbox","ruby","travis-ci"],"created_at":"2024-10-03T14:04:13.150Z","updated_at":"2025-05-06T19:47:19.239Z","avatar_url":"https://github.com/Jawnnypoo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dropbox-deployment\nDeploy your CI artifacts to Dropbox\n\n[![Build Status](https://travis-ci.org/Jawnnypoo/dropbox-deployment.svg?branch=master)](https://travis-ci.org/Jawnnypoo/dropbox-deployment)\n[![Gem](https://img.shields.io/gem/v/dropbox-deployment.svg)](https://rubygems.org/gems/dropbox-deployment)\n\n## Setup\nInstall the gem:\n```\ngem install dropbox-deployment\n```\nThis may vary in where this should go depending on your CI setup.\nIf you are using Travis, it would look something like:\n```\nbefore_install:\n- rvm install 2.2.6\n- gem install dropbox-deployment\n```\n## Usage\nSimilar to the [dropbox_api](https://github.com/Jesus/dropbox_api), you need to have an environment variable called `DROPBOX_OAUTH_BEARER`\n\nYou can create a OAUTH token here:\nhttps://www.dropbox.com/developers/apps/create\n\nDeployment looks for a `dropbox-deployment.yml` file in order to configure where the artifacts are and where they should go.\nFor example:\n```yml\ndeploy:\n  dropbox_path: /Builds # The path to the folder on Dropbox where the files will go\n  artifacts_path: artifacts # can be a single file, or a path\n  debug: true # if you want to see more logs\n```\nAfter creating this configuration, all you need to do is run:\n```shell\ndropbox-deployment\n```\nThis place where this goes also can vary depending on the CI setup.\nIf you are using Travis, you would want this as follows:\n```\nafter_success:\n  - dropbox-deployment\n```\n\n## Limitations\nSince we rely on a certain function of the Ruby Dropbox API client, we are limited to 150 MB per file size. See more [here](http://jesus.github.io/dropbox_api/DropboxApi/Client.html#upload-instance_method)\n\n## Test Locally\nJust run `ruby test/test.rb`. Set up your `dropbox-deployment.yml` as desired, as well as your `.env` file for your OAUTH token.\n\n## Deployment\n1. Adjust the version in the gemspec\n2. `gem build dropbox-deployment.gemspec`\n3. `gem push dropbox-deployment-version.number.here.gem`\n4. Tag release in git\n\n## Thanks\nThanks to the following for being a great reference on how to create a command line Ruby Gem:\n  - http://robdodson.me/how-to-write-a-command-line-ruby-gem/\n\n## License\n\ndropbox-deployment is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjawnnypoo%2Fdropbox-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjawnnypoo%2Fdropbox-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjawnnypoo%2Fdropbox-deployment/lists"}