Skip to content

Commit b18cfda

Browse files
committed
😭我是笨蛋
1 parent f45928f commit b18cfda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ jobs:
5656
hugo \
5757
--minify \
5858
--baseURL "${{ steps.pages.outputs.base_url }}/"
59+
- name: Setup IndexNow
60+
# 动态生成KEY文件以防止它们在公共存储库中泄露。
61+
run: echo ${{ secrets.INDEXNOW_KEY }} > public/${{ secrets.INDEXNOW_KEY }}.txt
5962
- name: Upload artifact
6063
uses: actions/upload-pages-artifact@v3
6164
with:
6265
path: ./public
63-
- name: Setup IndexNow
64-
# 动态生成KEY文件以防止它们在公共存储库中泄露。
65-
run: echo ${{ secrets.INDEXNOW_KEY }} > public/${{ secrets.INDEXNOW_KEY }}.txt
6666

6767
# Deployment job
6868
deploy:

0 commit comments

Comments
 (0)