forked from PipedreamHQ/pipedream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
28 lines (27 loc) · 909 Bytes
/
.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
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: false
addComment: false
addBadge: true
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- name: Monorepo setup
init: npm install --frozen-lockfile
# Installs the PD CLI and configures it to use the PD_API_KEY in the user's Gitpod settings
# Add your ENV key here: https://gitpod.io/variables
- name: Install PD CLI
before: |
curl https://cli.pipedream.com/linux/amd64/latest/pd.zip --output pd.zip && \
unzip pd.zip -d pd && \
sudo mv pd/pd /usr/local/bin/ && \
rm -r pd && rm pd.zip
init: |
eval $(command gp env -e) &&
mkdir ~/.config/pipedream &&
touch ~/.config/pipedream/config &&
echo "api_key = ${PD_API_KEY}" >> ~/.config/pipedream/config
command: pd