Skip to content

Commit

Permalink
Update secretpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyr-Wang authored Feb 20, 2024
1 parent e0afd4a commit 4e76007
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
env:
HUGO_VERSION: 0.120.4
MARKDOWN_DIR: publish
PUBLISH_PATH: ${{ secrets.SECRETPATH }}
steps:
- name: Install Hugo CLI
run: |
Expand Down Expand Up @@ -68,8 +69,8 @@ jobs:
- name: Move Markdown files to Hugo content directory
run: |
mkdir content/extra # cwd must contains content
mv temp/$MARKDOWN_DIR/*.md content/extra/ # Move processed Markdown files to Hugo content directory
mkdir content/$SECRETPATH # cwd must contains content
mv temp/$MARKDOWN_DIR/*.md content/$SECRETPATH/ # Move processed Markdown files to Hugo content directory
rm -rf ./temp
- name: Build with Hugo
Expand Down

0 comments on commit 4e76007

Please sign in to comment.