🚚 Feat: migrate exampleSite to docs submodule

This commit is contained in:
Cell
2022-07-23 21:29:48 +08:00
parent 42f87544cd
commit 3961261011
107 changed files with 21 additions and 15139 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ jobs:
ALGOLIA_APP_ID: YKOM6PKLUY
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
ALGOLIA_INDEX_NAME: 'index.en'
ALGOLIA_INDEX_FILE: './exampleSite/public/index.json'
ALGOLIA_INDEX_FILE: './docs/public/index.json'
run: |
npm run algolia
@@ -40,6 +40,6 @@ jobs:
ALGOLIA_APP_ID: YKOM6PKLUY
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}
ALGOLIA_INDEX_NAME: 'index.zh-cn'
ALGOLIA_INDEX_FILE: './exampleSite/public/zh-cn/index.json'
ALGOLIA_INDEX_FILE: './docs/public/zh-cn/index.json'
run: |
npm run algolia
+1 -1
View File
@@ -18,4 +18,4 @@ jobs:
hugo-version: latest
extended: true
- name: Build Hugo static files
run: hugo -v --source=exampleSite --themesDir ../.. --gc
run: hugo -v --source=docs --gc --minify