Skip to content
Discussion options

You must be logged in to vote

Hi @OmarJalil, what is your use case here? Are you looking to import this file from a secure S3 bucket and make it downloadable on the UI, or do you want to use values from that file within your workflow?

In any case you would need to upload this.env file somewhere in order to import it, then write the values to the CM_ENV environment variable.

scripts:
  - name: Get assets from AWS S3 bucket
    script: |
      aws s3 cp s3://$S3_BUCKET_NAME.zip assets.zip
      unzip assets.zip -d $ASSETS_FOLDER
      ls $ASSETS_FOLDER
  - name: Set iOS environment variables from settings.env
    script: |
      source $HOME/clone/$ASSETS_FOLDER/settings.env

      echo "APP_STORE_CONNECT_KEY_IDENTIFIER…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@OmarJalil
Comment options

@dtrdic
Comment options

Answer selected by dtrdic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants