Advertisement
KanjiCoder

BASH/ECHOPIT

Jul 18th, 2022
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1.  
  2. ##[2022_07_18]##############################################
  3.  
  4. ############################################################
  5. ## ##
  6. ## ECHO_PIT : Prevents heroku from blabbing about ##
  7. ## : the confidential[ CID ]and[ C_S ] ##
  8. ## : values I just set. ##
  9. ## ##
  10. ## : "echo off" does __NOT__ prevent this. ##
  11. ## ##
  12. ############################################################
  13.  
  14. git add .
  15.  
  16. git commit -m "[VIP_AUTO_COMMIT:KanjiCoder]"
  17.  
  18. VAR_REDACTED="[REDACTED]"
  19.  
  20. VAR_IMGUR_KANJICODER_CID=$(cat "./VIP/001/API_IMGUR/CID._")
  21. VAR_IMGUR_KANJICODER_C_S=$(cat "./VIP/001/API_IMGUR/C_S._")
  22.  
  23. echo "[VAR_IMGUR_KANJICODER_CID]:"$VAR_REDACTED
  24. echo "[VAR_IMGUR_KANJICODER_C_S]:"$VAR_REDACTED
  25.  
  26. ECHO_PIT=""
  27.  
  28. ECHO_PIT=$( heroku config:set --app aim-hotel13 \
  29. "VAR_IMGUR_KANJICODER_CID"=$VAR_IMGUR_KANJICODER_CID )
  30.  
  31. ## echo $ECHO_PIT
  32.  
  33. ECHO_PIT=$( heroku config:set --app aim-hotel13 \
  34. "VAR_IMGUR_KANJICODER_C_S"=$VAR_IMGUR_KANJICODER_C_S )
  35.  
  36. ## echo $ECHO_PIT
  37.  
  38. git push GIT_SSH master
  39. git push HER_OKU master
  40.  
  41. ##############################################[2022_07_18]##
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement