diff --git a/.woodpecker.yml b/.woodpecker.yml index 087b2e90..48d1c696 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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: