From b6f5cd40e67b88868098cc6b9798437198ceafea Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Tue, 20 Jun 2023 18:36:27 +0100 Subject: [PATCH] Github: Disable survey key request for now --- .github/workflows/release-source.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-source.yml b/.github/workflows/release-source.yml index 3d2ab4d98c..4aac6414b8 100644 --- a/.github/workflows/release-source.yml +++ b/.github/workflows/release-source.yml @@ -152,13 +152,14 @@ jobs: - name: Generate survey key id: survey_key run: | - PAYLOAD='{"version":"${{ steps.metadata.outputs.version }}","type":"${{ vars.SURVEY_TYPE }}"}' - - echo "${{ secrets.SURVEY_SIGNING_KEY }}" > survey_signing_key.pem - SIGNATURE=$(echo -n "${PAYLOAD}" | openssl dgst -sha256 -sign survey_signing_key.pem | base64 -w0) - rm -f survey_signing_key.pem - - SURVEY_KEY=$(curl -f -s -X POST -d "${PAYLOAD}" -H "Content-Type: application/json" -H "X-Signature: ${SIGNATURE}" https://survey-participate.openttd.org/create-survey-key/${{ vars.SURVEY_TYPE }}) + #PAYLOAD='{"version":"${{ steps.metadata.outputs.version }}","type":"${{ vars.SURVEY_TYPE }}"}' + # + #echo "${{ secrets.SURVEY_SIGNING_KEY }}" > survey_signing_key.pem + #SIGNATURE=$(echo -n "${PAYLOAD}" | openssl dgst -sha256 -sign survey_signing_key.pem | base64 -w0) + #rm -f survey_signing_key.pem + # + #SURVEY_KEY=$(curl -f -s -X POST -d "${PAYLOAD}" -H "Content-Type: application/json" -H "X-Signature: ${SIGNATURE}" https://survey-participate.openttd.org/create-survey-key/${{ vars.SURVEY_TYPE }}) + SURVEY_KEY="" echo "survey_key=${SURVEY_KEY}" >> $GITHUB_OUTPUT