mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 13:31:42 +00:00
fix: usar .env
This commit is contained in:
parent
25e6cd62dd
commit
4b575801c5
2 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
|||
RAILS_MASTER_KEY=CHANGEME
|
||||
RAILS_GROUPS=assets
|
||||
DELEGATE=athshe.sutty.nl
|
||||
HAINISH=../haini.sh/haini.sh
|
||||
DATABASE=
|
||||
DATABASE_URL=postgres://suttier@postgresql.sutty.local/sutty
|
||||
RAILS_ENV=development
|
||||
IMAP_SERVER=
|
||||
DEFAULT_FROM=
|
||||
|
|
|
@ -2,10 +2,11 @@ pipeline:
|
|||
assets:
|
||||
image: "registry.nulo.in/sutty/panel:3.14.8-2.7.6"
|
||||
commands:
|
||||
- "apk add python2"
|
||||
- "apk add python2 dotenv"
|
||||
- "yarn"
|
||||
- "RAILS_GROUPS=assets bundle install --path=vendor"
|
||||
- "RAILS_GROUPS=assets RAILS_MASTER_KEY=nada bundle exec rails assets:precompile assets:clean"
|
||||
- "cp .env.example .env"
|
||||
- "dotenv bundle install --path=vendor"
|
||||
- "dotenv RAILS_ENV=production bundle exec rails assets:precompile assets:clean"
|
||||
- "git add assets && git commit -m \"[skip ci] JS\" || true"
|
||||
when:
|
||||
branch:
|
||||
|
|
Loading…
Reference in a new issue