5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-19 19:22:20 +00:00

ci: compilar assets cuando cambian las dependencias

This commit is contained in:
f 2023-01-25 14:27:14 -03:00
parent 3ec546eb82
commit bbd19f44ae
2 changed files with 18 additions and 0 deletions

View file

@ -1,4 +1,21 @@
pipeline:
assets:
image: "registry.nulo.in/sutty/panel:3.14.8-2.7.6"
commands:
- "apk add python2"
- "yarn"
- "RAILS_GROUPS=assets bundle install --path=vendor"
- "RAILS_GROUPS=assets bundle exec rails assets:precompile assets:clean"
- "git add assets && git commit -m \"[skip ci] JS\" || true"
when:
branch:
- "rails"
- "panel.sutty.nl"
path:
include:
- "app/assets/**/*"
- "package.json"
- "yarn.lock"
publish:
image: plugins/docker
settings:

View file

@ -1,5 +1,6 @@
{
"name": "sutty",
"author": "Sutty <hi@sutty.nl>",
"private": true,
"dependencies": {
"@airbrake/browser": "^1.4.1",