Skip to content

Commit

Permalink
feat: always run hexo clean
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Jan 26, 2025
1 parent fa8bbae commit 5ef21a0
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,17 @@ jobs:
- run: yarn workspace wmi run post:chimera
- run: yarn workspace wmi run post:standalone
- run: yarn workspace wmi run post:copy
- name: Clean site
run: yarn workspace wmi exec "hexo clean"
- name: Generate site
run: yarn workspace wmi run build:site
id: build_site
continue-on-error: true
- name: Clean generate site
if: steps.build_site.outcome == 'failure'
run: |
yarn workspace wmi exec "hexo clean"
yarn workspace wmi run build:site
# - name: Clean generate site
# if: steps.build_site.outcome == 'failure'
# run: |
# yarn workspace wmi exec "hexo clean"
# yarn workspace wmi run build:site
#- run: yarn workspace wmi run generate:sitemap
#- run: yarn workspace wmi run generate:feed
#- run: yarn workspace wmi exec "gulp deploy:copy"
Expand Down

0 comments on commit 5ef21a0

Please sign in to comment.