Skip to content

Commit

Permalink
ci: deploy-vitepress.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ktKongTong committed Dec 28, 2024
1 parent aa3fe67 commit 5b04e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-vitepress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
check-if-need-deploy:
runs-on: ubuntu-latest
outputs:
doc-changed: ${{ steps.diff.outputs.count != '0' }}
doc-changed: ${{ steps.diff.outputs.count }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,7 +32,7 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
needs: [ check-if-need-deploy ]
if: ${{ needs.check-if-need-deploy.outputs.doc-changed }}
if: ${{ needs.check-if-need-deploy.outputs.doc-changed != '0' }}
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5b04e54

Please sign in to comment.