From a300de3ca83edd5e9fbb97ce803fc0885890cae1 Mon Sep 17 00:00:00 2001 From: ben_29 Date: Mon, 6 Nov 2023 17:45:13 +0800 Subject: [PATCH 1/2] fix: gh-pages build: drop the ref while trigger from Run Data Sync --- .github/workflows/gh-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6850b560885..048309e14e5 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -47,6 +47,8 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 + with: + ref: master - name: Cache Data Files if: inputs.save_data_in_github_cache From f68df303bbdcc00157e7e4f8916f6ac73a125002 Mon Sep 17 00:00:00 2001 From: ben_29 Date: Mon, 6 Nov 2023 18:47:45 +0800 Subject: [PATCH 2/2] fix: gh-pages build: comments --- .github/workflows/gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 048309e14e5..0adc1109124 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -48,6 +48,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 with: + # if your default branches is not master, please change it here ref: master - name: Cache Data Files