mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-04 10:12:31 +01:00
domain check
This commit is contained in:
parent
6754eb9e62
commit
df3d1cc3aa
7
.github/workflows/minify-and-deploy.yml
vendored
7
.github/workflows/minify-and-deploy.yml
vendored
@ -10,6 +10,13 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Wrong domain check
|
||||||
|
run: |
|
||||||
|
echo "$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }})"
|
||||||
|
if git grep -q -E ${{ secrets.DOMAIN }} -- *.css; then
|
||||||
|
echo "Game over man!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Auto Minify
|
- name: Auto Minify
|
||||||
|
Loading…
Reference in New Issue
Block a user