Skip to content

Commit

Permalink
Mohin/add hugo product theme (#228)
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <[email protected]>
  • Loading branch information
mohin7 authored Jul 9, 2024
1 parent 89c973a commit f8d016b
Show file tree
Hide file tree
Showing 134 changed files with 17,478 additions and 53,877 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-node@v2
with:
node-version: '18'
node-version: '20'
check-latest: true

- name: Install yq
Expand All @@ -34,7 +36,7 @@ jobs:
- name: Install Hugo
run: |
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.111.1/hugo_extended_0.111.1_linux-amd64.deb
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_linux-amd64.deb
sudo dpkg -i hugo_extended.deb
rm hugo_extended.deb
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/preview-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -26,7 +28,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18'
node-version: '20'
check-latest: true

- name: Install yq
Expand All @@ -38,7 +40,7 @@ jobs:
- name: Install Hugo
run: |
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.111.1/hugo_extended_0.111.1_linux-amd64.deb
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_linux-amd64.deb
sudo dpkg -i hugo_extended.deb
rm hugo_extended.deb
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ concurrency:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true

- name: Prepare git
env:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -26,7 +28,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '18'
node-version: '20'
check-latest: true

- name: Install yq
Expand All @@ -38,7 +40,7 @@ jobs:
- name: Install Hugo
run: |
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.111.1/hugo_extended_0.111.1_linux-amd64.deb
curl -fsSL -o hugo_extended.deb https://github.com/gohugoio/hugo/releases/download/v0.128.2/hugo_extended_0.128.2_linux-amd64.deb
sudo dpkg -i hugo_extended.deb
rm hugo_extended.deb
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-product-theme"]
path = themes/hugo-product-theme
url = [email protected]:appscode/hugo-product-theme.git
3 changes: 3 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ googleAnalytics: UA-62096468-4
disableKinds:
- taxonomy
- taxonomyTerm
theme: hugo-product-theme
params:
product_key: kubedb
primary_color: 4d4dcb
main_menu_dropdown_item: database
domain_appscode: https://appscode.com
domain_bytebuilders: https://appscode.com
Expand Down Expand Up @@ -163,3 +165,4 @@ outputs:
- JSON
build:
writeStats: true
timeout: 1800000
Loading

0 comments on commit f8d016b

Please sign in to comment.