We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 735ac36 commit 1c178aeCopy full SHA for 1c178ae
.github/workflows/jekyll.yml
@@ -33,8 +33,15 @@ jobs:
33
steps:
34
- name: Checkout
35
uses: actions/checkout@v4
36
- - name: Copy articles to web directory
37
- run: mkdir -pv ./web/_posts/zh/ && cp -r ./result/articles/* ./web/_posts/zh/
+ - name: Setup Python
+ uses: actions/setup-python@v4
38
+ with:
39
+ python-version: '3.10' # 安装 Python 3.10(可根据需求调整版本)
40
+ - name: gen articles and copy data to web directory
41
+ run: |
42
+ python3 ./gen_articles.py
43
+ mkdir -pv ./web/imgs/word_imgs/ && cp -r ./result/word_imgs/* ./web/imgs/word_imgs/
44
+ mkdir -pv ./web/_posts/zh/ && cp -r ./result/articles/* ./web/_posts/zh/
45
- name: Setup Ruby
46
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
47
with:
0 commit comments