Ver código fonte

Remove CLIENT_SECRET not needed anymore

tags/site-v9.3.1
Guillaume Vincent 2 anos atrás
pai
commit
5d031d1288
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      bin/deploy_web_extensions

+ 2
- 2
bin/deploy_web_extensions Ver arquivo

@@ -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
}


Carregando…
Cancelar
Salvar