5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-18 12:22:21 +00:00

fix: no es necesario usar hainish en un contenedor

This commit is contained in:
f 2024-01-08 15:26:19 -03:00
parent 2296c82f0b
commit 8ce1aceb3f
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -2,6 +2,7 @@ image: "gitea.nulo.in/sutty/panel:3.17.3-3.1.4-rails"
variables: variables:
RAILS_ENV: "production" RAILS_ENV: "production"
LC_ALL: "C.UTF-8" LC_ALL: "C.UTF-8"
HAINISH: ""
cache: cache:
paths: paths:
- "vendor/ruby" - "vendor/ruby"

View file

@ -32,7 +32,7 @@ tasks:
- "env" - "env"
- "credentials" - "credentials"
cmds: cmds:
- "haini.sh bundle" - "{{.HAINISH}} bundle"
sources: sources:
- "Gemfile" - "Gemfile"
generates: generates:
@ -44,7 +44,7 @@ tasks:
node-modules: node-modules:
desc: "Install Node modules" desc: "Install Node modules"
cmds: cmds:
- "haini.sh yarn" - "{{.HAINISH}} yarn"
sources: sources:
- "package.json" - "package.json"
- "yarn.lock" - "yarn.lock"
@ -58,9 +58,9 @@ tasks:
cmds: cmds:
- "git lfs fetch" - "git lfs fetch"
- "git lfs checkout" - "git lfs checkout"
- "haini.sh RAILS_ENV=production bundle exec rails webpacker:clobber" - "{{.HAINISH}} RAILS_ENV=production bundle exec rails webpacker:clobber"
- "haini.sh RAILS_ENV=production bundle exec rails assets:precompile" - "{{.HAINISH}} RAILS_ENV=production bundle exec rails assets:precompile"
- "haini.sh RAILS_ENV=production bundle exec rails assets:clean" - "{{.HAINISH}} RAILS_ENV=production bundle exec rails assets:clean"
sources: sources:
- "package.json" - "package.json"
- "yarn.lock" - "yarn.lock"