Skip to content
Discussion options

You must be logged in to vote

Well the issue is from my side because when app is added it sends response back with app id and name then i want to use that app id and run another script to add environment variables but the command i was using to extract app_id from response is added double quotes so there for its giving me INVALID_APP_ID I solved it with this scripts but there is no way to setup app type and config type through API

add_app.sh

#!/usr/bin/env bash

repo_url=$(cat <../secrets/repo_url.txt)
echo repo_url="$repo_url"

github_ssh_private_key=$(base64 <../secrets/github_ssh_private_key.asc)
github_ssh_key_passphrase=$(cat <../secrets/github_ssh_key_passphrase.txt)

echo github_ssh_private_key="$github_ssh_p…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by burhankhanzada
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