mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 12:16:23 +00:00
ci: no hacer nada si no hay nada que hacer
This commit is contained in:
parent
6d24e7c56a
commit
e0a2149483
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,6 @@
|
|||
- "apk add go-task diffutils"
|
||||
.disable-hainish: &disable-hainish
|
||||
- "echo \"HAINISH=\" >> .env.production"
|
||||
|
||||
image: "gitea.nulo.in/sutty/panel:3.17.3-3.1.4-rails"
|
||||
variables:
|
||||
RAILS_ENV: "production"
|
||||
|
@ -60,7 +59,7 @@ rubocop:
|
|||
- *apk-add
|
||||
- *disable-hainish
|
||||
script:
|
||||
- "./bin/modified_files | grep .rb | xargs go-task bundle -- exec rubocop"
|
||||
- "./bin/modified_files | grep .rb | xargs -r go-task bundle -- exec rubocop"
|
||||
haml:
|
||||
stage: "test"
|
||||
rules:
|
||||
|
@ -69,4 +68,4 @@ haml:
|
|||
- *apk-add
|
||||
- *disable-hainish
|
||||
script:
|
||||
- "./bin/modified_files | grep .haml | xargs go-task bundle -- exec haml-lint"
|
||||
- "./bin/modified_files | grep .haml | xargs -r go-task bundle -- exec haml-lint"
|
||||
|
|
Loading…
Reference in a new issue