Skip to content

Commit 3f19da5

Browse files
Consolidation to ease maintenance
1 parent 6bf1fb4 commit 3f19da5

9 files changed

+25
-358
lines changed

.devcontainer/devcontainer.json

+24-31
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,26 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/go
13
{
2-
"name": "Hugo (Community)",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"args": {
6-
// Update VARIANT to pick hugo variant.
7-
// Example variants: hugo, hugo_extended
8-
// Rebuild the container if it already exists to update.
9-
"VARIANT": "hugo_extended",
10-
// Update VERSION to pick a specific hugo version.
11-
// Example versions: latest, 0.73.0, 0,71.1
12-
// Rebuild the container if it already exists to update.
13-
"VERSION": "latest",
14-
// Update NODE_VERSION to pick the Node.js version: 12, 14
15-
"NODE_VERSION": "14"
16-
}
4+
"name": "Go",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/go:1-bullseye",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/hugo:1": {
11+
"extended": true
12+
},
13+
"ghcr.io/devcontainers/features/node:1": {}
1714
},
15+
16+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
17+
"forwardPorts": [
18+
1313
19+
],
20+
21+
// Use 'postCreateCommand' to run commands after the container is created.
22+
"postCreateCommand": "cd exampleSite && npm ci",
23+
1824

1925
// Configure tool-specific properties.
2026
"customizations": {
@@ -33,19 +39,6 @@
3339
}
3440
},
3541

36-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
37-
"forwardPorts": [
38-
1313
39-
],
40-
41-
// Use 'postCreateCommand' to run commands after the container is created.
42-
"postCreateCommand": "npm ci && git submodule update --init --recursive",
43-
44-
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
45-
"remoteUser": "node",
46-
"features": {
47-
"ghcr.io/devcontainers/features/sshd:1": {
48-
"version": "latest"
49-
}
50-
}
51-
}
42+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
43+
// "remoteUser": "root"
44+
}

.github/workflows/add-issue-to-project.yml

-55
This file was deleted.

.github/workflows/add-pr-to-project.yaml

-56
This file was deleted.

.github/workflows/playwright.yml

-66
This file was deleted.

0 commit comments

Comments
 (0)