Fix images on the website
This commit is contained in:
parent
b2b29a6f0f
commit
8150937bea
4
.gitattributes
vendored
4
.gitattributes
vendored
@ -1,6 +1,2 @@
|
||||
src/static/** filter=lfs diff=lfs merge=lfs -text
|
||||
src/static/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
src/assets/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
src/assets/** filter=lfs diff=lfs merge=lfs -text
|
||||
src-bak/static/** filter=lfs diff=lfs merge=lfs -text
|
||||
src-bak/static/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: badhouseplants-net
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.8.5
|
||||
version: 0.8.6
|
||||
appVersion: "4.20.0"
|
||||
dependencies:
|
||||
- name: remark42
|
||||
|
@ -41,7 +41,7 @@ spec:
|
||||
mountPath: "/tmp"
|
||||
readOnly: true
|
||||
- name: {{ .Values.volumes.rclone.name }}
|
||||
mountPath: /assets
|
||||
mountPath: /static
|
||||
readOnly: false
|
||||
resources:
|
||||
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
|
||||
@ -59,7 +59,7 @@ spec:
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: {{ .Values.volumes.rclone.name }}
|
||||
mountPath: /src/assets
|
||||
mountPath: /src/static
|
||||
readOnly: false
|
||||
- name: {{ .Values.volumes.public.name }}
|
||||
mountPath: /src/public
|
||||
|
@ -10,7 +10,7 @@ nginx:
|
||||
tag: latest
|
||||
|
||||
rclone:
|
||||
command: "rclone copy -P badhouseplants-public:/badhouseplants-net-main /assets"
|
||||
command: "rclone copy -P badhouseplants-public:/badhouseplants-net-main /static"
|
||||
container:
|
||||
name: rclone
|
||||
resources: {}
|
||||
|
@ -26,4 +26,4 @@ values: |
|
||||
anonymous: true
|
||||
secretKey: $ARGO_REMARK_SECRET
|
||||
rclone:
|
||||
command: 'rclone copy -P badhouseplants-public:/badhouseplants-net/$ARGO_APP_IMAGE_TAG /assets'
|
||||
command: 'rclone copy -P badhouseplants-public:/badhouseplants-net/$ARGO_APP_IMAGE_TAG /static'
|
||||
|
@ -19,7 +19,7 @@ print `git -C /tmp/$git_commit_sha lfs pull` or die;
|
||||
|
||||
print "Creating a new hashed dir in the common bucket\n";
|
||||
|
||||
print `rclone copy /tmp/$git_commit_sha/src/assets "$common_bucket/$git_commit_sha"` or die;
|
||||
print `rclone copy /tmp/$git_commit_sha/src/static "$common_bucket/$git_commit_sha"` or die;
|
||||
|
||||
if ($git_branch eq $main_branch) {
|
||||
print "Syncing to the production bucket\n";
|
||||
|
BIN
src/assets/avatar.png
(Stored with Git LFS)
BIN
src/assets/avatar.png
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e16de0174ab4983fd8a83f2174362003b1f65973247eea4ff4d67143b8d8639c
|
||||
size 109
|
@ -10,7 +10,7 @@ Params:
|
||||
sidebar:
|
||||
avatar:
|
||||
enable: true
|
||||
local: true
|
||||
local: false
|
||||
src: avatar.png
|
||||
subtitle: PunkOps by allanger
|
||||
comments:
|
||||
|
Reference in New Issue
Block a user