generated from sylhare/Type-on-Strap
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitpod.yml
42 lines (38 loc) · 1.41 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
35
36
37
38
39
40
41
42
# Documentation: https://www.gitpod.io/docs/references/gitpod-yml
image: gitpod/workspace-full
# Task(s)
tasks:
- before: |
gem install bundle
bundle config set --local path 'vendor/bundle'
init: |
bundle update
bundle install
- name: Run type on strap
init: bundle install
command: bundle exec jekyll serve
# In case the user is trying to make a pull request, he needs GitLens, which by default is not installed. This code will help us install it.
vscode:
extensions:
- eamodio.gitlens
# Ports configuration, since Gitpod needs to open Type on Strap on a new tab when the server loads up.
ports:
- port: 4000
onOpen: open-browser
# For opening workspaces faster than ever, prebuilds are suggested
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: false
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: false
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt