https://github.com/digipolitan/fastlane-heroku
https://github.com/digipolitan/fastlane-heroku
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/digipolitan/fastlane-heroku
- Owner: Digipolitan
- License: bsd-3-clause
- Created: 2016-12-11T20:48:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-05T10:08:40.000Z (over 8 years ago)
- Last Synced: 2025-01-17T00:20:16.269Z (4 months ago)
- Language: Ruby
- Size: 11.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Digipolitan fastlane-heroku
================Heroku actions used to deploy on Heroku using fastlane
## Installation
To install fastlane, simply use gem:```
[sudo] gem install fastlane
```# Available Fastlane Lanes
All lanes available are described [here](fastlane/README.md)# Available Fastlane actions
All these actions require Heroku-CLI installed on your machine, download [here](https://devcenter.heroku.com/articles/heroku-cli)
## [heroku_login](fastlane/actions/heroku_login.rb)
Log the given user on Heroku
```Ruby
user = heroku_login(
email: "[email protected]",
password: "your_password"
)
print user[:token]
```
This command log `[email protected]` on Heroku and display his token## [heroku_app_create](fastlane/actions/heroku_app_create.rb)
Creates or retrieves a new app on Heroku, the user must be logged in
```Ruby
heroku_app_create(
name: "my_heroku_app"
)
```
Create `my_heroku_app` on your *Personal team* on Heroku```Ruby
heroku_app_create(
name: "my_heroku_app",
organization: "Digipolitan"
)
```
Create `my_heroku_app` on *Digipolitan team* on Heroku, required admin permission## [heroku_app_deploy](fastlane/actions/heroku_app_deploy.rb)
Deploy an app on Heroku from a git repository, required admin permission
```Ruby
heroku_app_deploy(
name: "my_heroku_app",
source_git_url: "https://github.com/fastlane/boarding"
)
```
Deploy on Heroku using source from `https://github.com/fastlane/boarding`