Upload with fastlane
If you are using fastlane to build your app, you can upload your app with deploygate action.
Example
deploygate(
api_token: 'API Key', # Alternatively, environment variable DEPLOYGATE_API_TOKEN can be specified
user: 'Username OR Organization Name', # Alternatively, environment variable DEPLOYGATE_USER can be specified
message: "Fastlane build #{lane_context[SharedValues::BUILD_NUMBER]}",
)
If you add deploygate
action to Fastfile as in the above example, you can use
fastlane deploygate
to upload your app.
deploygate Action Options
The following variables and environment variables can be set.
Variable | Environment Variable | Description |
---|---|---|
api_token | DEPLOYGATE_API_TOKEN | User’s or Organization’s API Key |
user | DEPLOYGATE_USER | App owner’s username or Organization name |
ipa | DEPLOYGATE_IPA_PATH | Path to IPA file. gym or xcodebuild users don’t have to set it manually. |
apk | DEPLOYGATE_APK_PATH | Path to APK file. gradle users don’t have to set it manually. |
message | DEPLOYGATE_MESSAGE | Build description message |
distribution_key | DEPLOYGATE_DISTRIBUTION_KEY | Specifying the distribution page’s URL hash will update the distribution page |
release_note | DEPLOYGATE_RELEASE_NOTE | Description message for updated distribution page |
disable_notify | DEPLOYGATE_DISABLE_NOTIFY | (iOS only) Setting to “true” will disable email notifications for uploads. The default is “false”. |
deploygate Action
For more details, please view the Fastlane document. https://docs.fastlane.tools/actions/deploygate/#deploygate