diff --git a/providers/mittwald.yaml b/providers/mittwald.yaml index 0c50551..25b0a38 100644 --- a/providers/mittwald.yaml +++ b/providers/mittwald.yaml @@ -3,12 +3,15 @@ auth_command: command: | set -e -o pipefail + set -x if [ -z "${MITTWALD_API_TOKEN}" ] ; then echo "MITTWALD_API_TOKEN must be set" exit 1 fi + mw app get -ojson "${MITTWALD_APP_INSTALLATION_ID}" + mw context set --installation-id "${MITTWALD_APP_INSTALLATION_ID}" mw context set --project-id "$(mw app get -ojson | jq -r '.projectId')"