-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devfile.yaml
42 lines (42 loc) · 1.07 KB
/
.devfile.yaml
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
schemaVersion: 2.2.0
metadata:
name: michaelvaldron.ca
displayName: Michael Valdron Website
website: 'https://michaelvaldron.ca/'
description: Michael Valdron's personal portfolio website.
version: 1.0.0
icon: https://raw.githubusercontent.com/michael-valdron/michael-valdron.github.io/main/static/favicon.ico
tags:
- Hugo
- Markdown
components:
- name: runner
container:
image: docker.io/michaelvaldron/hugo:latest
sourceMapping: /projects
endpoints:
- exposure: public
name: http-1313
protocol: http
targetPort: 1313
commands:
- id: build
exec:
commandLine: hugo mod get
component: runner
workingDir: ${PROJECT_SOURCE}
hotReloadCapable: true
group:
kind: build
isDefault: true
- id: run
exec:
commandLine: hugo server --appendPort=false --baseURL={{baseURL}}
component: runner
workingDir: ${PROJECT_SOURCE}
hotReloadCapable: true
group:
kind: run
isDefault: true
variables:
baseURL: localhost:20001