Skip to content

Commit

Permalink
Roll back deploy_server resolution until fixed
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Hedgren <carl.hedgren@nav.no>
  • Loading branch information
mortenlj and Reasonable-Solutions committed Jan 27, 2025
1 parent 9d82164 commit 686acf6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions actions/deploy/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,6 @@ if [ -n "$IMAGE" ]; then
yq w --inplace "$VARS" image "$IMAGE"
fi

if [ -n "$DEPLOY_SERVER" ]; then
echo "::notice ::DEPLOY_SERVER is deprecated and should not be set, please remove from your workflow"
fi

echo ::group::wget
wget https://storage.googleapis.com/github-deploy-data/$GITHUB_REPOSITORY_OWNER.json --output-document deploy.json
cat deploy.json
echo ::endgroup::

export DEPLOY_SERVER=$(jq --raw-output '.DEPLOY_SERVER' < deploy.json)

# if no apikey is set, use use the id-token to get a jwt token for the deploy CLI
if [ -z "$APIKEY" ]; then
if [ -z "$ACTIONS_ID_TOKEN_REQUEST_TOKEN" ] || [ -z "$ACTIONS_ID_TOKEN_REQUEST_URL" ]; then
Expand Down

0 comments on commit 686acf6

Please sign in to comment.