Skip to content

Commit 496c1da

Browse files
committed
Removed pagefind binaries, updated the yaml deployment workflows, devcontainer and hugo-server scripts
1 parent 6940d08 commit 496c1da

10 files changed

Lines changed: 4 additions & 48 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
"remoteUser": "ubuntu",
99

10-
"postStartCommand": "nohup bash -c 'hugo ; bin/pagefind --site public --output-subdir ../static/pagefind ; hugo server --baseURL=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' "
10+
"postStartCommand": "nohup bash -c 'hugo ; hugo server --baseURL=/ --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 &' "
1111

1212
}

.github/workflows/content-checks.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ jobs:
4444
# extended: true
4545
#
4646
# - name: Build
47-
# run: |
48-
# hugo --minify
49-
# bin/pagefind --site "public"
47+
# run: hugo --minify
5048
#
5149
# - name: Check HTML links
5250
# continue-on-error: true

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ jobs:
6767

6868
# Builds arm-software-developer repo
6969
- name: Build
70-
run: |
71-
hugo --minify
72-
bin/pagefind.aarch64 --site "public"
70+
run: hugo --minify
7371
env:
7472
HUGO_LLM_API: ${{ secrets.HUGO_LLM_API }}
7573
HUGO_RAG_API: ${{ secrets.HUGO_RAG_API }}

.github/workflows/spell-and-link-check.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
extended: true
2727

2828
- name: Build
29-
run: |
30-
hugo --minify
31-
bin/pagefind --site "public"
29+
run: hugo --minify
3230

3331
- name: Check HTML links
3432
id: htmltest

.wordlist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3549,7 +3549,6 @@ paddleocr
35493549
PaddleOCR
35503550
paddlepaddle
35513551
PaddlePaddle
3552-
Pagefind
35533552
pagemap
35543553
pagesize
35553554
Paladugu

bin/pagefind

-21.7 MB
Binary file not shown.

bin/pagefind.aarch64

-21.1 MB
Binary file not shown.

bin/pagefind.arm64

-16.2 MB
Binary file not shown.

hugo-server.sh

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,6 @@
55
# -----------------------------------------------------------------------------
66
hugo --buildDrafts
77

8-
# =============================================================================
9-
# Enable the home page search box.
10-
# -----------------------------------------------------------------------------
11-
# Attempt to use the system's pagefind if it is available on PATH or as an alias,
12-
# otherwise default to our own local version of it in order to generate the
13-
# search index data.
14-
15-
# Get ourselves a useable pagefind.
16-
PAGEFIND=pagefind
17-
if ! command $PAGEFIND --version &> /dev/null; then
18-
case "$(uname -s)" in
19-
Darwin*)
20-
PAGEFIND=bin/pagefind.arm64
21-
;;
22-
Linux*)
23-
if [ "$(uname -m)" == "aarch64" ]; then
24-
PAGEFIND=bin/pagefind.aarch64
25-
else
26-
PAGEFIND=bin/pagefind
27-
fi
28-
;;
29-
MINGW*|CYGWIN*|MSYS_NT*)
30-
PAGEFIND=bin/pagefind.exe
31-
;;
32-
*)
33-
echo "No pagefind executable found or known for this platform"
34-
PAGEFIND=""
35-
esac
36-
fi
37-
38-
# If we have a pagefind executable, generate the search index.
39-
if [[ -n "$PAGEFIND" ]]; then
40-
$PAGEFIND --site "public" --output-subdir ../static/pagefind
41-
fi
42-
438
# =============================================================================
449
# Serve our local tree for interactive development.
4510
# -----------------------------------------------------------------------------

pagefind.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)