Skip to content

Commit ed38f2f

Browse files
committed
notify new post by github actions instead of vercel
1 parent 7a95384 commit ed38f2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ jobs:
2424
- name: Build
2525
run: hugo --gc
2626

27+
- name: New Post Check
28+
uses: actions/setup-node@v2
29+
with:
30+
node-version: '12'
31+
run: node _tools/newpostcheck.js
32+
2733
- name: Deploy
2834
uses: peaceiris/actions-gh-pages@v3
2935
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)