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 d855325 commit ec7ac52
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy-vitepress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
- name: get diff
id: diff
run: |
echo $(git diff --name-only HEAD master -- docs)
echo $(git diff --name-only HEAD master -- docs) | wc -w | xargs -I {} echo "DIFF={}" >> "$GITHUB_OUTPUT"
echo ${{ steps.diff.outputs.DIFF }}
echo $(git diff --name-only HEAD origin/master -- docs)
echo $(git diff --name-only HEAD origin/master -- docs) | wc -w | xargs -I {} echo "DIFF={}" >> "$GITHUB_OUTPUT"
build-and-deploy:
runs-on: ubuntu-latest
needs: [ check-if-need-deploy ]
Expand Down

0 comments on commit ec7ac52

Please sign in to comment.