Skip to content

Commit 64aea44

Browse files
fix docs
1 parent 4ab2632 commit 64aea44

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build_docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build and commit docs
33
on:
44
push:
55
branches: ['main']
6+
workflow_dispatch: {}
67

78
permissions:
89
contents: write
@@ -21,7 +22,11 @@ jobs:
2122
- uses: actions/checkout@v5
2223
- name: Install Node and dependencies
2324
uses: mongodb-labs/drivers-github-tools/node/setup@v2
24-
- run: sudo apt update && sudo apt-get install hugo
25+
- name: Install Hugo
26+
run: |
27+
mkdir ~/hugo
28+
curl -L https://github.com/gohugoio/hugo/releases/download/v0.150.0/hugo_0.150.0_linux-arm.tar.gz | tar -xzf - -C ~/hugo
29+
echo "$PATH:~/hugo" >> $GITHUB_PATH
2530
- name: Build Docs
2631
run: npm run build:docs -- --yes
2732
- name: Open Pull Request

0 commit comments

Comments
 (0)