Skip to content

Commit 2de533c

Browse files
authored
update node deps & hugo to latest (#10824)
1 parent 1fb9871 commit 2de533c

File tree

8 files changed

+48184
-10127
lines changed

8 files changed

+48184
-10127
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
jobs:
33
production:
44
docker:
5-
- image: cibuilds/hugo:0.88.a
5+
- image: cibuilds/hugo:0.92.0
66
auth:
77
username: devopsdaysbuild
88
password: $DOCKERHUB_PASSWORD
@@ -14,7 +14,7 @@ jobs:
1414

1515
build:
1616
docker:
17-
- image: cibuilds/hugo:0.88.1
17+
- image: cibuilds/hugo:0.92.0
1818
auth:
1919
username: devopsdaysbuild
2020
password: $DOCKERHUB_PASSWORD
@@ -31,7 +31,7 @@ jobs:
3131

3232
test:
3333
docker:
34-
- image: circleci/node:11.5.0
34+
- image: circleci/node:lts
3535
auth:
3636
username: devopsdaysbuild
3737
password: $DOCKERHUB_PASSWORD
@@ -42,7 +42,7 @@ jobs:
4242
at: ~/devopsdays/workspace
4343
- run:
4444
name: update-npm
45-
command: 'sudo npm install -g npm@6.4.1'
45+
command: 'sudo npm install -g npm@8.3.1'
4646
- run:
4747
name: npm-version
4848
command: 'npm version'

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v9.4.0
1+
v16.13.2

gulp/tasks/dev/sass.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var gulp = require('gulp'),
2-
sass = require('gulp-sass'),
2+
sass = require('gulp-sass')(require('node-sass')),
33
sourcemaps = require('gulp-sourcemaps');
44

55
sass.compiler = require('node-sass');

hugoserver.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ $MyPath = $PSScriptRoot
55

66
docker stop hugo-server
77
docker rm hugo-server
8-
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 ""
8+
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 ""

hugoserver.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ fi
1616

1717
docker stop hugo-server
1818
docker rm hugo-server
19-
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 ""
19+
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 ""

netlify.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
skip_processing = true
1616

1717
[context.production.environment]
18-
HUGO_VERSION = "0.88.1"
18+
HUGO_VERSION = "0.92.0"
1919

2020
[context.deploy-preview.environment]
21-
HUGO_VERSION = "0.88.1"
21+
HUGO_VERSION = "0.92.0"
2222

2323
[context.branch-deploy.environment]
24-
HUGO_VERSION = "0.88.1"
24+
HUGO_VERSION = "0.92.0"

0 commit comments

Comments
 (0)