feat(gitpod): Add env variables to .bashrc so they can be accessed globally (#39296)

* feat(gitpod): Add env variables to .profile so they can be accessed globally.
This commit is contained in:
Kartik Soneji
2020-07-23 19:52:09 +05:30
committed by GitHub
parent 0c0611229e
commit 86f9087444

View File

@@ -12,6 +12,14 @@ ports:
onOpen: ignore
tasks:
- before: |
echo '
export COOKIE_DOMAIN=gitpod.io
export HOME_LOCATION=$(gp url 8000)
export API_LOCATION=$(gp url 3000)
' >> ~/.bashrc;
exit;
- name: db
# starting mongo in background, so it doesn't block prebuilds
before: >