Skip to content

Commit

Permalink
Merge pull request #1390 from CloudWithChris/consolidation
Browse files Browse the repository at this point in the history
Consolidation to ease maintenance
  • Loading branch information
chrisreddington authored Jan 28, 2024
2 parents 6bf1fb4 + 3342405 commit 4529fc1
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 489 deletions.
55 changes: 24 additions & 31 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Hugo (Community)",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update VARIANT to pick hugo variant.
// Example variants: hugo, hugo_extended
// Rebuild the container if it already exists to update.
"VARIANT": "hugo_extended",
// Update VERSION to pick a specific hugo version.
// Example versions: latest, 0.73.0, 0,71.1
// Rebuild the container if it already exists to update.
"VERSION": "latest",
// Update NODE_VERSION to pick the Node.js version: 12, 14
"NODE_VERSION": "14"
}
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-bullseye",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"extended": true
},
"ghcr.io/devcontainers/features/node:1": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
1313
],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "cd exampleSite && npm ci",


// Configure tool-specific properties.
"customizations": {
Expand All @@ -33,19 +39,6 @@
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
1313
],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm ci && git submodule update --init --recursive",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
}
}
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
55 changes: 0 additions & 55 deletions .github/workflows/add-issue-to-project.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/add-pr-to-project.yaml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/crosspost.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/workflows/github-script-dev.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/playwright.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/podcast-audio.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/site-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Azure Static Web Apps CI/CD
name: "GitHub Pages Deployment"

# This GitHub Action workflow triggers in two scenarios -
# 1. When a push is made to the main branch
Expand Down Expand Up @@ -43,7 +43,7 @@ on:

# Environment variables used for consistency across the workflow.
env:
HUGO_VERSION: '0.112.2'
HUGO_VERSION: '0.122.0'

jobs:
# A set of steps used to compress the images, making sure that images are compressed ahead of publishing to the site.
Expand Down
Loading

0 comments on commit 4529fc1

Please sign in to comment.