Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Oct 21, 2023
1 parent ba27e8a commit 87e7159
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages
name: Deploy docs

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -30,9 +29,6 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs
env:
HUGO_VERSION: 0.114.0
steps:
Expand All @@ -49,6 +45,7 @@ jobs:
hugo-version: '0.111.3'
extended: true
- name: Build with Hugo
working-directory: docs
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
Expand All @@ -61,7 +58,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./public
path: ./docs/public

# Deployment job
deploy:
Expand Down

0 comments on commit 87e7159

Please sign in to comment.