Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Try without `toJSON` function and continue in any case (#2057)
Krystle Salazar0257088c64c8
diff --git a/.github/actions/staging-frontend-deploy/action.yml b/.github/actions/staging-frontend-deploy/action.ymlindex b9432e2dd..1cc93bf5a 100644--- a/.github/actions/staging-frontend-deploy/action.yml+++ b/.github/actions/staging-frontend-deploy/action.yml@@ -32,7 +32,7 @@ runs:run: |import jsonimport os- mapping = json.loads("${{ toJSON(env.GH_SLACK_USERNAME_MAP) }}")+ mapping = json.loads('${{ env.GH_SLACK_USERNAME_MAP }}')github_user = "${{ github.triggering_actor }}"slack_id = mapping[github_user]with open(os.getenv('GITHUB_ENV'), "a") as env_file:@@ -40,6 +40,7 @@ runs:- name: Notify deployment startuses: slackapi/[email protected]+ if: success() || failure()with:payload: |{@@ -67,6 +68,7 @@ runs:- name: Configure AWS credentialsuses: aws-actions/configure-aws-credentials@v1+ if: success() || failure()with:aws-access-key-id: ${{ inputs.aws-access-key-id }}aws-secret-access-key: ${{ inputs.aws-secret-access-key }}