refactor: move Bootstrap modules and templates to dedicated repo

See https://github.com/HugoBlox/hugo-blox-bootstrap
This commit is contained in:
George Cushen committed 2025-08-25 21:16:45 +01:00
1 parent b8a8431ac3
commit 507f03411f
677 files changed
+324 -40588

No files matched your search

+10 -11
View File
@@ -15,18 +15,18 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
# node-version: [18.x]
# node-version: [18.x]
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch any Git submodules (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
submodules: true # Fetch any Git submodules (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
@@ -41,18 +41,17 @@ jobs:
cd ..
- name: Check for linting errors
run: pnpm run lint:js # TODO: also lint styles again once new rule errors resolved
run: pnpm run lint:js # TODO: also lint styles again once new rule errors resolved
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.148.2'
extended: true
- name: Build
run: hugo --minify
run: hugo --minify --templateMetrics --templateMetricsHints
working-directory: test
# format:
# runs-on: ubuntu-latest
#
+5 -15
View File
@@ -21,31 +21,21 @@ jobs:
split_repository: 'theme-academic-cv'
- local_path: 'starters/resume'
split_repository: 'theme-resume'
- local_path: 'starters-bootstrap/markdown-slides'
split_repository: 'theme-markdown-slides'
- local_path: 'starters/blog'
split_repository: 'theme-blog'
- local_path: 'starters/documentation'
split_repository: 'theme-documentation'
- local_path: 'starters-bootstrap/portfolio'
split_repository: 'theme-portfolio'
- local_path: 'starters-bootstrap/course'
split_repository: 'theme-online-course'
- local_path: 'starters/link-in-bio'
split_repository: 'theme-link-in-bio'
- local_path: 'starters-bootstrap/research-group'
split_repository: 'theme-research-group'
- local_path: 'starters-bootstrap/second-brain'
split_repository: 'theme-second-brain'
- local_path: 'starters/landing-page'
split_repository: 'theme-landing-page'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# step if no tag is pushed
- if: "!startsWith(github.ref, 'refs/tags/')"
uses: "symplify/monorepo-split-github-action@v2.3.0"
- if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: 'symplify/monorepo-split-github-action@v2.3.0'
with:
# ↓ split "packages/<package-name><package-name>" directory
package_directory: '${{ matrix.package.local_path }}'
@@ -55,5 +45,5 @@ jobs:
repository_name: '${{ matrix.package.split_repository }}'
# ↓ the user signed under the split commit
user_name: "Splitter Bot"
user_email: "no.reply@hugoblox.com"
user_name: 'Splitter Bot'
user_email: 'no.reply@hugoblox.com'