Skip to content

Commit 735ac36

Browse files
committed
update action
1 parent 4d96f84 commit 735ac36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/jekyll.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ jobs:
3333
steps:
3434
- name: Checkout
3535
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/
3638
- name: Setup Ruby
3739
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
3840
with:
3941
ruby-version: '3.1'
4042
bundler-cache: true
4143
cache-version: 0
42-
- name: Copy articles to web directory
43-
run: cp -r result/articles/* web/_posts/zh/
4444
- name: Setup Pages
4545
id: pages
4646
uses: actions/configure-pages@v5
4747
- name: Build with Jekyll
4848
run: |
49-
cd web/
49+
cd ./web/
5050
bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
5151
env:
5252
JEKYLL_ENV: production

0 commit comments

Comments
 (0)