-
Notifications
You must be signed in to change notification settings - Fork 2
generate js file with token task [CPP-912] #957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Jason Mobarak <[email protected]>
Frontend and Release Workflow Started here |
Frontend and Release Workflow Started here |
Frontend and Release Workflow Started here |
Co-authored-by: Jason Mobarak <[email protected]>
Frontend and Release Workflow Started here |
Co-authored-by: Jason Mobarak <[email protected]>
Frontend and Release Workflow Started here |
Frontend and Release Workflow Started here |
Frontend and Release Workflow Started here |
https://github.com/swift-nav/swift-toolbox-ci/actions/runs/4370355661 built artifacts generates mapbox token OK and tested running on mac |
To hide access token, we will compile
trajectory_raw.js
intotrajectory.js
replacing %ACCESS_TOKEN% with env varCreates
trajectory.js
via taskcargo make map-js-token
requiring $MAPBOX_TOKEN.Modify
trajectory_raw.js
to adjust map,cargo make generate-resources
will generate the mapped token via env var.Will need to create MAPBOX_TOKEN secret for private CI, is ok for public CI.