This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hi, I am trying to figure out how to pass secrets from github actions to --config-merge
. This is what I am trying to do as of now, but this does not work.
- name: Build the release
env:
API_URL: ${{ secrets.API_URL }}
run: npx shadow-cljs release app --config-merge '{:closure-defines {ui.render-comp/url-endpoint \"${API_URL}\"}}'
ThanksFWIW nothing you put into your build will be secret. everyone with access to the JS will be able to find it
but I'm not sure, not really a shadow-cljs question. more of a bash question. I'm sure there is a way, just don't know how escaping strings in bash works
👍 1
So are there any other recommended way to keep a secret, secret on client side?
nvm I figured a workaround, thanks,