5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 01:16:21 +00:00

ci: build assets
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-01-25 14:17:57 -03:00
parent 39601b0e9d
commit ac8d95590b

View file

@ -1,4 +1,17 @@
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: "app/assets/**/*"
publish:
image: plugins/docker
settings: