Skip to content

Commit

Permalink
fix toc action script
Browse files Browse the repository at this point in the history
  • Loading branch information
maticzav committed Feb 15, 2021
1 parent a5bb140 commit 6f757cc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/toc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

cd scripts
yarn g:tsn index.ts

CHANGED=$(git diff-index --name-only HEAD --)

if [ ! -z "$CHANGED" ]; then

git commit -am "chore: generate TOC"
git push

fi


0 comments on commit 6f757cc

Please sign in to comment.