From 481c4f1aeb09d9a29f833f36cfbbebebd9a4fd8c Mon Sep 17 00:00:00 2001 From: Alex Su Date: Sun, 3 Sep 2023 02:42:27 +0800 Subject: [PATCH] Sun Sep 3 02:42:27 CST 2023 --- .github/workflows/jekyll-gh-pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 40d9d5e..2239116 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -8,7 +8,7 @@ on: repository_dispatch: env: - REPO_URL: https:\/\/siansiansu.github.io + PAGE_URL: https:\/\/siansiansu.github.io\/${{ github.event.repository.name }} DESCRIPTION: 台語學習資源清單 Tâi-gí ha̍k-si̍p chu-guân tshing-tuann permissions: @@ -36,8 +36,8 @@ jobs: - name: Run run: | cp -r jekyll-theme/* . - sed -i "3s/.*/url: ${REPO_URL}/" _config.yml sed -i "4s/.*/description: ${DESCRIPTION}/" _config.yml + sed -i "5s/.*/pageurl: ${PAGE_URL}/" _config.yml sed -i '1 i---\nlayout: home\n---\n' README.md cp README.md index.md