From d96148c395440a8201d5812ad2d8776360d54faf Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Mon, 16 Sep 2024 13:08:55 -0700 Subject: [PATCH] Add new format. --- .gitea/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index d254148..b5561ea 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -30,7 +30,7 @@ jobs: run: | SHORT_COMMIT=$(git rev-parse --short HEAD) COMMIT_URL="https://git.ericxliu.me/eric/ericxliu-me/commit/$SHORT_COMMIT" - find ./public -type f -exec sed -i "s|\[commit\]|$SHORT_COMMIT|g" {} + + find ./public -type f -exec sed -i "s|\[commit\]|\[$SHORT_COMMIT\]|g" {} + - name: Deploy uses: peaceiris/actions-gh-pages@v4