-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy path.gitpod.yml
34 lines (34 loc) · 1.05 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
tasks:
- name: App
init: |
# bring in secret access tokens from gitpod user dashboard
eval $(gp env -e)
# OlmypusDAO front end contributors with access permissions to the main repo
# should set GITHUB_OHM_PERSONAL_ACCESS_TOKEN in their gitpod UI Settings panel
if [ -z ${GITHUB_OHM_PERSONAL_ACCESS_TOKEN+x} ];
then
echo "var is unset";
else
echo "Setting git origin push URL for OlympusDAO/olympus-frontend";
git remote set-url --push origin https://${GITHUB_OHM_PERSONAL_ACCESS_TOKEN}@github.com/OlympusDAO/olympus-frontend.git;
fi
# create a default .env file if none present
if [ ! -f .env ]; then cp ".env.test" ".env"; fi
yarn && \
gp sync-done install
- name: Terminal
init: gp sync-await install
command: |
ls -al
pwd
github:
prebuilds:
pullRequestsFromForks: true
addComment: true
vscode:
extensions:
- dbaeumer.vscode-eslint
- esbenp.prettier-vscode
- mhutchie.git-graph
- bmuskalla.vscode-tldr
- eamodio.gitlens