Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use same uploader for banner as other items. fix from british library #1852

Merged
merged 2 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Site < ApplicationRecord
validates :application_name, presence: true, allow_nil: true

# Allow for uploading of site's banner image
mount_uploader :banner_image, Hyrax::UploadedFileUploader
mount_uploader :banner_image, Hyrax::AvatarUploader
# Allow for uploading of site's logo image
mount_uploader :logo_image, Hyrax::AvatarUploader
# Allow for uploading of site's directory image
Expand Down
2 changes: 1 addition & 1 deletion bin/helm_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ DEPLOY_IMAGE="${DEPLOY_IMAGE:-ghcr.io/samvera/hyku}"
WORKER_IMAGE="${WORKER_IMAGE:-ghcr.io/samvera/hyku/worker}"
DEPLOY_TAG="${DEPLOY_TAG:-latest}"
WORKER_TAG="${WORKER_TAG:-$DEPLOY_TAG}"

echo $DEPLOY_TAG

function V() # $1-a $2-op $3-$b
# Compare a and b as version strings. Rules:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ x-app: &app
target: hyku-base
args:
- EXTRA_APK_PACKAGES=less vim bash openjdk11-jre ffmpeg rsync
image: ghcr.io/samvera/hyku:latest
image: ghcr.io/samvera/hyku:${TAG:-latest}
env_file:
- .env
# NOTE: all common env variables moved to .env
Expand Down