Skip to content

Commit d182de8

Browse files
committed
Update SCSS asset reference with new minified CSS file and integrity hash
Signed-off-by: Lee Calcote <[email protected]>
1 parent 9a1b30d commit d182de8

File tree

7 files changed

+35
-11
lines changed

7 files changed

+35
-11
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
make update-module module="$MODULE" version="$VERSION"
5454
5555
- name: Install dependencies
56-
run: make academy-setup
56+
run: make setup
5757

5858
- name: Build Academy
59-
run: make academy-prod
59+
run: make prod-build
6060

6161
# - name: Pull changes from self master
6262
# run: git pull origin master

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ RUN hugo version && go version && node -v && npm -v
1919
COPY . .
2020

2121
# Build Academy pages
22-
RUN make academy-setup
23-
RUN make academy-prod
22+
RUN make setup
23+
RUN make prod-build

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,26 @@ include .github/build/Makefile-show-help.mk
1818
#----------------------------------------------------------------------------
1919
# Academy
2020
# ---------------------------------------------------------------------------
21-
.PHONY: academy-setup academy-dev academy-staging academy-prod update-module
21+
.PHONY: setup academy-dev staging-build prod-build update-module
2222

2323
## Install site dependencies
24-
academy-setup:
24+
setup:
2525
npm i
2626

2727
## Build site using Layer5 Cloud as the baseURL
28-
academy-prod:
28+
prod-build:
2929
hugo --cleanDestinationDir --gc --minify --baseURL "https://cloud.layer5.io/academy"
3030

3131
## Build site using Layer5 Cloud Staging as the baseURL
32-
academy-staging:
32+
staging-build:
3333
hugo --cleanDestinationDir --gc --minify --baseURL "https://staging-cloud.layer5.io/academy"
3434

3535
## Build site for local consumption
3636
academy-dev:
3737
hugo build
3838

3939
## Build and run site locally
40-
academy-dev-live:
40+
site:
4141
hugo serve
4242

4343
## Upgrade site's theme to latest version

go.mod

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
module github.com/layer5io/academy
22

33
go 1.24.5
4+
5+
require (
6+
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 // indirect
7+
github.com/layer5io/academy-theme v0.1.19 // indirect
8+
github.com/layer5io/exoscale-academy v0.3.7 // indirect
9+
github.com/layer5io/layer5-academy v0.1.10 // indirect
10+
github.com/twbs/bootstrap v5.3.7+incompatible // indirect
11+
)

go.sum

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w=
2+
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3+
github.com/FortAwesome/Font-Awesome v4.7.0+incompatible h1:3trjm7NtX5NXlju1AxSWSzedDMq2hsfH78Qtqrc8EgY=
4+
github.com/FortAwesome/Font-Awesome v4.7.0+incompatible/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
5+
github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM=
6+
github.com/layer5io/academy-theme v0.1.15/go.mod h1:kAidN16xIX6Dx2TBz7y0u3DeU8UnfUcoQZ/rVogXN80=
7+
github.com/layer5io/academy-theme v0.1.19 h1:X2BiWBGRi83lzQkXfz1DNKF5bgrxmj1raZYSxebB84Q=
8+
github.com/layer5io/academy-theme v0.1.19/go.mod h1:Dv72UWsREOvX4Zg4mJjrpoyDxdgxxpiDotxqYBXMjXo=
9+
github.com/layer5io/exoscale-academy v0.3.7 h1:pk0d4cahGUJVSPATGltuMksqEe38DaLB9ikrMXy629U=
10+
github.com/layer5io/exoscale-academy v0.3.7/go.mod h1:5UDX9hXqKw2xBwFt5uY2lV1eMKuIPY0eDsMvPX9Jkt4=
11+
github.com/layer5io/hugo-academy-theme v0.0.0-20250715053027-36f46b5c4741/go.mod h1:Kp2xgJUAqGztDN/j6T30ApwSaK1Yxs1IvrSgOoRFKnI=
12+
github.com/layer5io/layer5-academy v0.1.10 h1:DY9aDc4WCXoIKZHUgpWYX1xqzel6gKbuEk7dg9MkyFM=
13+
github.com/layer5io/layer5-academy v0.1.10/go.mod h1:4TFQzqags5gs+2Ljv3wc05ec/YxBo+38ilrNcWTHPcQ=
14+
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
15+
github.com/twbs/bootstrap v5.3.7+incompatible h1:ea1W8TOWZFkqSK2M0McpgzLiUQVru3bz8aHb0j/XtuM=
16+
github.com/twbs/bootstrap v5.3.7+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

resources/_gen/assets/scss/main.scss_a7b64cfe358ca0f98a9b572608f3a01d.content

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Target":"/scss/main.min.60d1725029b5790d890eb5caf20127b56a58a6f40c523d1bdb891fc60526193a.css","MediaType":"text/css","Data":{"Integrity":"sha256-YNFyUCm1eQ2JDrXK8gEntWpYpvQMUj0b24kfxgUmGTo="}}
1+
{"Target":"/scss/main.min.3654fa7f65fe6598afaa6264f8f39c4d3fdc02cc5e0a119a4549147e9e4bb2c9.css","MediaType":"text/css","Data":{"Integrity":"sha256-NlT6f2X+ZZivqmJk+POcTT/cAsxeChGaRUkUfp5Lssk="}}

0 commit comments

Comments
 (0)