mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 07:56:24 +00:00
Merge branch 'ci' into panel.sutty.nl
This commit is contained in:
commit
7a47c913a3
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ pipeline:
|
|||
assets:
|
||||
image: "registry.nulo.in/sutty/panel:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
|
||||
commands:
|
||||
- "apk add python2 dotenv openssh-client"
|
||||
- "apk add python2 dotenv openssh-client brotli"
|
||||
- "install -d -m 700 ~/.ssh/"
|
||||
- "echo \"$${KNOWN_HOSTS}\" | base64 -d >> ~/.ssh/known_hosts"
|
||||
- "chmod 600 ~/.ssh/known_hosts"
|
||||
|
@ -46,6 +46,7 @@ pipeline:
|
|||
- "dotenv RAILS_ENV=production bundle exec rails webpacker:clobber"
|
||||
- "dotenv RAILS_ENV=production bundle exec rails assets:precompile"
|
||||
- "dotenv RAILS_ENV=production bundle exec rails assets:clean"
|
||||
- "find public -type f -print0 | xargs -r0 brotli -k9"
|
||||
- "git add public && git commit -m \"ci: assets [skip ci]\""
|
||||
- "git pull upstream ${CI_COMMIT_BRANCH}"
|
||||
- "git push upstream ${CI_COMMIT_BRANCH}"
|
||||
|
|
Loading…
Reference in a new issue