Bläddra i källkod

Remove CLIENT_SECRET not needed anymore

tags/site-v9.3.1
Guillaume Vincent 2 år sedan
förälder
incheckning
5d031d1288
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      bin/deploy_web_extensions

+ 2
- 2
bin/deploy_web_extensions Visa fil

@@ -1,8 +1,8 @@
#!/usr/bin/env bash

function check_env_variables_are_setted {
if [ -z "${EXTENSION_ID}" ] || [ -z "${CLIENT_ID}" ] || [ -z "${CLIENT_SECRET}" ] || [ -z "${REFRESH_TOKEN}" ] || [ -z "${WEB_EXT_API_KEY}" ] || [ -z "${WEB_EXT_API_SECRET}" ]; then
echo "Need to set EXTENSION_ID, CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN, WEB_EXT_API_KEY and WEB_EXT_API_SECRET env variables to release web extensions"
if [ -z "${EXTENSION_ID}" ] || [ -z "${CLIENT_ID}" ] || [ -z "${REFRESH_TOKEN}" ] || [ -z "${WEB_EXT_API_KEY}" ] || [ -z "${WEB_EXT_API_SECRET}" ]; then
echo "Need to set EXTENSION_ID, CLIENT_ID, REFRESH_TOKEN, WEB_EXT_API_KEY and WEB_EXT_API_SECRET env variables to release web extensions"
exit 1
fi
}


Laddar…
Avbryt
Spara