-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.yml
23 lines (22 loc) · 900 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
image:
file: .gitpod.Dockerfile
tasks:
- name: install plugins
command: |
wget -q -O tmp.zip https://downloads.wordpress.org/plugin/duplicate-post.4.5.zip && unzip -d ./myplugins tmp.zip && rm tmp.zip
wget -q -O tmp.zip https://downloads.wordpress.org/plugin/classic-editor.1.6.2.zip && unzip -d ./myplugins tmp.zip && rm tmp.zip
wget -q -O tmp.zip https://downloads.wordpress.org/plugin/classic-widgets.0.3.zip && unzip -d ./myplugins tmp.zip && rm tmp.zip
- name: Start containers
command: |
docker-compose up -d
gp sync-done containers
- name: Change ownership of themes and plugins directory
command: |
gp sync-await containers # Wait for the container task
sudo chown gitpod:gitpod ./mythemes/.
sudo chown gitpod:gitpod ./myplugins/.
ports:
- name: Web App
port: 8080
onOpen: open-preview
visibility: private