From 7c9f02b24e888a8bb58e421812f6ea0607d43e0f Mon Sep 17 00:00:00 2001 From: IK-Ngoo Date: Fri, 16 Aug 2024 10:20:06 +0800 Subject: [PATCH 1/3] fix: update contact info --- contact.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contact.md b/contact.md index 3bc8f92b..2155afaa 100644 --- a/contact.md +++ b/contact.md @@ -3,4 +3,5 @@ layout: main title: 意見回覆.聯絡我們 --- -歡迎加入 [g0v.slack.com](https://g0v.slack.com) 的 [#pdis 頻道](https://app.slack.com/client/T02G2SXKM/C2PV9FVPT) 與我們討論。 \ No newline at end of file +歡迎透過電子郵件: + ikngoo@nics.nat.gov.tw 與我們聯繫。 \ No newline at end of file From e54bf2fc83cb92da61f9475c4a1180b5ceb4fb06 Mon Sep 17 00:00:00 2001 From: IK-Ngoo Date: Fri, 16 Aug 2024 10:20:06 +0800 Subject: [PATCH 2/3] fix: update contact info --- contact.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contact.md b/contact.md index 3bc8f92b..2155afaa 100644 --- a/contact.md +++ b/contact.md @@ -3,4 +3,5 @@ layout: main title: 意見回覆.聯絡我們 --- -歡迎加入 [g0v.slack.com](https://g0v.slack.com) 的 [#pdis 頻道](https://app.slack.com/client/T02G2SXKM/C2PV9FVPT) 與我們討論。 \ No newline at end of file +歡迎透過電子郵件: + 與我們聯繫。 \ No newline at end of file From dc1f8d8099cc08007006fe430e25709053a2e847 Mon Sep 17 00:00:00 2001 From: IK-Ngoo Date: Sat, 17 Aug 2024 18:11:17 +0800 Subject: [PATCH 3/3] Merge pull request #36 from nics-tw/fix/stage_url fix: stage site absolute url not change along with run.id --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1fccc36..9ad9f19c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,11 @@ jobs: - name: Build with Jekyll # Outputs to the './_site' directory by default # run: bundle exec jekyll build - run: bundle exec jekyll build --config _config_development.yml + # replace _config_development's url using sed because jekyll has no command to do it + run: | + TARGET_URL="https://storage.googleapis.com/guide-dev/${{ github.run_id }}" + sed -i.bak "s|^url:.*|url: $TARGET_URL|" _config_development.yml + bundle exec jekyll build --config _config_development.yml - name: Archive production artifacts uses: actions/upload-artifact@v4