5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 10:56:22 +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:
RAILS_ENV: "production"
LC_ALL: "C.UTF-8"
HAINISH: ""
cache:
paths:
- "vendor/ruby"

View file

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