Skip to content

Commit

Permalink
update node deps & hugo to latest (devopsdays#10824)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvovandoorn authored Feb 3, 2022
1 parent 1fb9871 commit 2de533c
Show file tree
Hide file tree
Showing 8 changed files with 48,184 additions and 10,127 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
production:
docker:
- image: cibuilds/hugo:0.88.a
- image: cibuilds/hugo:0.92.0
auth:
username: devopsdaysbuild
password: $DOCKERHUB_PASSWORD
Expand All @@ -14,7 +14,7 @@ jobs:

build:
docker:
- image: cibuilds/hugo:0.88.1
- image: cibuilds/hugo:0.92.0
auth:
username: devopsdaysbuild
password: $DOCKERHUB_PASSWORD
Expand All @@ -31,7 +31,7 @@ jobs:

test:
docker:
- image: circleci/node:11.5.0
- image: circleci/node:lts
auth:
username: devopsdaysbuild
password: $DOCKERHUB_PASSWORD
Expand All @@ -42,7 +42,7 @@ jobs:
at: ~/devopsdays/workspace
- run:
name: update-npm
command: 'sudo npm install -g npm@6.4.1'
command: 'sudo npm install -g npm@8.3.1'
- run:
name: npm-version
command: 'npm version'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v9.4.0
v16.13.2
2 changes: 1 addition & 1 deletion gulp/tasks/dev/sass.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var gulp = require('gulp'),
sass = require('gulp-sass'),
sass = require('gulp-sass')(require('node-sass')),
sourcemaps = require('gulp-sourcemaps');

sass.compiler = require('node-sass');
Expand Down
2 changes: 1 addition & 1 deletion hugoserver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ $MyPath = $PSScriptRoot

docker stop hugo-server
docker rm hugo-server
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:cached -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.88.1 hugo server --watch --bind ""
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:cached -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.92.0 hugo server --watch --bind ""
2 changes: 1 addition & 1 deletion hugoserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ fi

docker stop hugo-server
docker rm hugo-server
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:$MOUNT_OPTION -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.88.1 hugo server --watch --bind ""
docker run -tip 1313:1313 -v $(pwd):/home/circleci/project:$MOUNT_OPTION -e HUGO_THEME=devopsdays-theme -e HUGO_BASEURL="http://localhost:1313" --name hugo-server --entrypoint "" cibuilds/hugo:0.92.0 hugo server --watch --bind ""
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
skip_processing = true

[context.production.environment]
HUGO_VERSION = "0.88.1"
HUGO_VERSION = "0.92.0"

[context.deploy-preview.environment]
HUGO_VERSION = "0.88.1"
HUGO_VERSION = "0.92.0"

[context.branch-deploy.environment]
HUGO_VERSION = "0.88.1"
HUGO_VERSION = "0.92.0"
Loading

0 comments on commit 2de533c

Please sign in to comment.