-
Notifications
You must be signed in to change notification settings - Fork 21
/
.gitpod.yml
78 lines (69 loc) · 1.84 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
image:
file: .gitpod/Dockerfile
tasks:
- before: git pull -f origin main:main || true
init: |
# DDev prebuild tasks
.gitpod/scripts/ddev-download.sh
.gitpod/scripts/ddev-setup.sh
# Setup Drupal 9 backend
.gitpod/scripts/drupal-setup.sh
# druxt.js build install and build
yarn install
yarn build
# druxtjs.org install
cd $GITPOD_REPO_ROOT/docs/nuxt && yarn
cd $GITPOD_REPO_ROOT && yarn build:docs
command: |
# Setup Gitpod .env
$GITPOD_REPO_ROOT/.gitpod/scripts/env-setup.sh
# Start Drupal
cd $GITPOD_REPO_ROOT/docs/drupal && ddev start -y && ddev gitpod-config && ddev drush uli
# Display welcome message
cd $GITPOD_REPO_ROOT && cat .gitpod/WELCOME.md
# VScode xdebug extension
vscode:
extensions:
- dbaeumer.vscode-eslint
- editorconfig.editorconfig
- felixfbecker.php-debug
- gruntfuggly.todo-tree
- octref.vetur
ports:
# Nuxt/Druxt
- port: 3000
visibility: public
# Drupal
- port: 8080
visibility: public
# Currently un-notified and unsupported mailhog http port
# - port: 8025
# onOpen: ignore
# # Currently un-notified and unsupported mailhog https port
# - port: 8026
# onOpen: ignore
# # Currently un-notified and unsupported phpmyadmin http port
# - port: 8036
# onOpen: ignore
# # Currently un-notified and unsupported phpmyadmin https port
# - port: 8037
# onOpen: ignore
# # router http port that we're ignoring.
# - port: 8888
# onOpen: ignore
# # router https port that we're ignoring.
# - port: 8889
# onOpen: ignore
# # xdebug port
# - port: 9000
# onOpen: ignore
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: false
addBadge: true
addLabel: true