Skip to content

Commit

Permalink
Some debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Feb 20, 2024
1 parent 1b2e509 commit 639653c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions providers/mittwald.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 639653c

Please sign in to comment.