Skip to content

Commit 520546a

Browse files
committed
debug
1 parent f0cf933 commit 520546a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/jekyll.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
python3 ./gen_articles.py
4343
mkdir -pv ./web/imgs/word_imgs/ && cp -r ./result/word_imgs/* ./web/imgs/word_imgs/
4444
mkdir -pv ./web/_posts/zh/ && cp -r ./result/articles/* ./web/_posts/zh/
45+
cd ./web/
4546
- name: Setup Ruby
4647
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
4748
with:
@@ -57,7 +58,6 @@ jobs:
5758
uses: actions/configure-pages@v5
5859
- name: Build with Jekyll
5960
run: |
60-
cd ./web/
6161
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
6262
env:
6363
JEKYLL_ENV: production

gen_articles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def gen_letter_article_content(letter, words_data_map, letter_words, subdir, tit
4040
if word_org_data is None:
4141
logging.error(f"Word not found: {word}")
4242
continue
43-
logging.info(f"Processing word: {word}, data: {word_org_data}")
43+
#logging.info(f"Processing word: {word}, data: {word_org_data}")
4444
analysis = word_org_data.get('analysis', '')
4545
content += f"""## {i+1}. {word}
4646

0 commit comments

Comments
 (0)