Skip to content

Commit 1b3be09

Browse files
committed
Migrate to new theme
1 parent 397eda4 commit 1b3be09

File tree

788 files changed

+12048
-848
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

788 files changed

+12048
-848
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
deploy:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
steps:
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Hugo
2323
uses: peaceiris/actions-hugo@v2
2424
with:
25-
hugo-version: '0.117.0'
25+
hugo-version: '0.126.1'
2626
# extended: true
2727

2828
- name: Build

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "themes/hugo-theme-relearn"]
2-
path = themes/hugo-theme-relearn
3-
url = https://github.com/ksu-cs-textbooks/hugo-theme-relearn.git

Dockerfile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
FROM nginx:alpine as build
2-
3-
RUN apk add --update \
4-
wget git
5-
6-
ARG HUGO_VERSION="0.117.0"
7-
RUN wget --quiet "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz" && \
8-
tar xzf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
9-
rm -r hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
10-
mv hugo /usr/bin
1+
FROM hugomods/hugo:0.126.1 as build
112

123
COPY ./ /site
134
WORKDIR /site
14-
RUN hugo -b "https://textbooks.cs.ksu.edu/cc410"
5+
6+
RUN hugo mod get
7+
RUN hugo --minify
158

169
#Copy static files to Nginx
1710
FROM nginx:alpine

assets/images/0/410_modules.png

28.5 KB
Loading

assets/images/0/410eureka.jpg

112 KB
Loading

assets/images/0/410piaget.png

419 KB
Loading

assets/images/0/410snail.jpg

78.5 KB
Loading

assets/images/0/410waves.png

31.3 KB
Loading

assets/images/0/codio_logo.svg

Lines changed: 32 additions & 0 deletions
Loading
Lines changed: 105 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)