From 7004cd7afb041a09e4a5d584988826a5f4d8d1f4 Mon Sep 17 00:00:00 2001 From: Liang Hai Date: Thu, 12 Dec 2024 19:53:44 +0100 Subject: [PATCH] Correct $TMP creation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pub directory is not included in the sparse checkout, and the nektos/act tool for testing locally doesn’t do an actual sparse checkout (it does `docker cp` instead) so I didn’t catch this issue locally. --- .github/workflows/publish-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-data.sh b/.github/workflows/publish-data.sh index 051277c00..3d74c4ef2 100755 --- a/.github/workflows/publish-data.sh +++ b/.github/workflows/publish-data.sh @@ -1,7 +1,7 @@ # See publish-data.yml TMP=pub/tmp -mkdir $TMP +mkdir -p $TMP COPY_YEAR=$(date -u +%Y) PUB_DATE=$(date -u +%Y-%m-%d)