From 4e7600711c75bf6eeab903acf286cb47c0f34a80 Mon Sep 17 00:00:00 2001 From: Tyr-Wang <30581149+Tyr-Wang@users.noreply.github.com> Date: Mon, 19 Feb 2024 22:28:07 -0500 Subject: [PATCH] Update secretpath --- .github/workflows/hugo.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 49db2ae..0b6a3cf 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -33,6 +33,7 @@ jobs: env: HUGO_VERSION: 0.120.4 MARKDOWN_DIR: publish + PUBLISH_PATH: ${{ secrets.SECRETPATH }} steps: - name: Install Hugo CLI run: | @@ -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