Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
Signed-off-by: 北雁 Cryolitia <[email protected]>
  • Loading branch information
Cryolitia committed Oct 24, 2023
1 parent bd9b941 commit dc5cffb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
hugo-version: latest
extended: true
- run: npm ci
- run: npx prettier --check . --log-level debug
- run: npx prettier --check .
- if: failure()
run: |
npx prettier --write .
git diff
- run: npx markdownlint-cli "**/*.md"
- run: hugo --minify
- run: npx wrangler pages deploy public --project-name ftmwiki --branch main
Expand Down

0 comments on commit dc5cffb

Please sign in to comment.