Skip to content

Commit

Permalink
[Docs] Update pushword.piedweb.com
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Oct 16, 2022
1 parent 1ccd218 commit 6845c0b
Show file tree
Hide file tree
Showing 3 changed files with 6,118 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .git-hooks/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh

composer format
git add .
10 changes: 10 additions & 0 deletions .git-hooks/pre-push
@@ -0,0 +1,10 @@
#!/bin/sh

GIT_COMMAND=$(ps -o args= $PPID)

if [ "$GIT_COMMAND" = 'git push --tags' ]
then
composer docs
git add .
git commit -m '[Docs] Update pushword.piedweb.com' || true
fi

0 comments on commit 6845c0b

Please sign in to comment.