Bitrise Step for uploading build artifacts to Google Cloud Storage.
Bitrise GCS Upload Step uses a service account json file for authentication.
Don't have a service account yet then create one -> instructions.
JSON Credentials file will need uploaded to Bitrise -> Workflow -> Code Signing -> Generic File Storage
WARNING Bitrise GCS Upload Step uses BITRISEIO_GCS_SERVICE_ACCOUNT_JSON_KEY_URL
as default key.
If you choose to use a different name, you will have to update it in step inputs.
Add following step into your bitrise.yml
- git::https://github.com/zakgrant/bitrise-steps-google-cloud-storage-upload.git@1.0.2:
title: Upload artefact to Google Cloud Storage
inputs:
- GCS_SERVICE_ACCOUNT_JSON_KEY_URL: $BITRISEIO_GCS_SERVICE_ACCOUNT_JSON_KEY_URL
- BUCKET_NAME: $GCS_BUCKET_NAME
- BUCKET_FOLDER_NAME: $GCS_BUCKET_FOLDER_NAME
- ARTEFACT_PATH: $BITRISE_ARTEFACT_PATH
- UPLOAD_FILE_NAME: $GCS_UPLOAD_FILE_NAME