Add kartellg & faster deploy
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 27m27s
All checks were successful
CI/CD Pipeline / deploy-main (push) Successful in 27m27s
This commit is contained in:
parent
0c2fc02464
commit
556017f553
@ -43,7 +43,7 @@ jobs:
|
|||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
|
||||||
scp ./output/* $SSH_USER@$SSH_HOST:/var/www/html/ris/
|
scp -C ./output/* $SSH_USER@$SSH_HOST:/var/www/html/ris/
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
SSH_HOST: ${{ secrets.SSH_HOST }}
|
SSH_HOST: ${{ secrets.SSH_HOST }}
|
||||||
|
23
laws/kartellg.toml
Normal file
23
laws/kartellg.toml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
[law]
|
||||||
|
id = 20004174
|
||||||
|
name = "Kartellgesetz 2005"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Hauptstück"
|
||||||
|
is_root = true
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[[law.classifiers]]
|
||||||
|
name = "Abschnitt"
|
||||||
|
is_root = false
|
||||||
|
match_function = "contains"
|
||||||
|
|
||||||
|
[parser]
|
||||||
|
remove_strings = [
|
||||||
|
"<i>", "</i>"
|
||||||
|
]
|
||||||
|
|
||||||
|
[[parser.replace_rules]]
|
||||||
|
find = "<gdash />" # Should be at the same level as the other "Theil"e
|
||||||
|
replace_with = "-"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user