mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 16:10:28 +00:00
Make assets build fail if changes are detected
This commit is contained in:
parent
c29ad30b56
commit
a03a49294a
1 changed files with 10 additions and 0 deletions
10
.github/workflows/assets.yml
vendored
10
.github/workflows/assets.yml
vendored
|
@ -30,3 +30,13 @@ jobs:
|
|||
|
||||
- name: "Build prod assets"
|
||||
run: "yarn run build:prod"
|
||||
|
||||
- name: "Validate no change were created"
|
||||
run: |
|
||||
GITDIFF=`git diff`
|
||||
if [ "$GITDIFF" == "" ]; then
|
||||
exit 0
|
||||
else
|
||||
echo $GITDIFF
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue