Skip to content

Commit 3361501

Browse files
authored
Update build-docs.yml
1 parent 8aac1a4 commit 3361501

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/build-docs.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,33 +30,28 @@ jobs:
3030
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
3131
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
3232
33-
# - name: Install Dart SASS
34-
# run: sudo snap install dart-sass
35-
3633
- name: Checkout Repository
3734
uses: actions/checkout@v4
3835
with:
39-
submodules: recurisive
36+
submodules: recursive
4037
fetch-depth: 0
4138

4239
- name: Setup Pages
4340
id: pages
4441
uses: actions/configure-pages@v5
4542

46-
- name: Install Node.js dependencies
47-
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
48-
4943
- name: Build with Hugo
5044
env:
5145
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5246
HUGO_ENVIRONMENT: production
5347
TZ: America/Los_Angeles
5448
run: hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
49+
working-directory: ./docs
5550

5651
- name: Upload artifact
5752
uses: actions/upload-pages-artifact@v3
5853
with:
59-
path: ./public
54+
path: ./docs/public
6055

6156
deploy:
6257
environment:

0 commit comments

Comments
 (0)