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/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
|
name: badhouseplants-net
|
||||||
description: A Helm chart for Kubernetes
|
description: A Helm chart for Kubernetes
|
||||||
type: application
|
type: application
|
||||||
version: 0.8.5
|
version: 0.8.6
|
||||||
appVersion: "4.20.0"
|
appVersion: "4.20.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: remark42
|
- name: remark42
|
||||||
|
@ -41,7 +41,7 @@ spec:
|
|||||||
mountPath: "/tmp"
|
mountPath: "/tmp"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: {{ .Values.volumes.rclone.name }}
|
- name: {{ .Values.volumes.rclone.name }}
|
||||||
mountPath: /assets
|
mountPath: /static
|
||||||
readOnly: false
|
readOnly: false
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
|
{{- toYaml .Values.rclone.container.resources | nindent 12 }}
|
||||||
@ -59,7 +59,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: {{ .Values.volumes.rclone.name }}
|
- name: {{ .Values.volumes.rclone.name }}
|
||||||
mountPath: /src/assets
|
mountPath: /src/static
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: {{ .Values.volumes.public.name }}
|
- name: {{ .Values.volumes.public.name }}
|
||||||
mountPath: /src/public
|
mountPath: /src/public
|
||||||
|
@ -10,7 +10,7 @@ nginx:
|
|||||||
tag: latest
|
tag: latest
|
||||||
|
|
||||||
rclone:
|
rclone:
|
||||||
command: "rclone copy -P badhouseplants-public:/badhouseplants-net-main /assets"
|
command: "rclone copy -P badhouseplants-public:/badhouseplants-net-main /static"
|
||||||
container:
|
container:
|
||||||
name: rclone
|
name: rclone
|
||||||
resources: {}
|
resources: {}
|
||||||
|
@ -26,4 +26,4 @@ values: |
|
|||||||
anonymous: true
|
anonymous: true
|
||||||
secretKey: $ARGO_REMARK_SECRET
|
secretKey: $ARGO_REMARK_SECRET
|
||||||
rclone:
|
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 "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) {
|
if ($git_branch eq $main_branch) {
|
||||||
print "Syncing to the production bucket\n";
|
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:
|
sidebar:
|
||||||
avatar:
|
avatar:
|
||||||
enable: true
|
enable: true
|
||||||
local: true
|
local: false
|
||||||
src: avatar.png
|
src: avatar.png
|
||||||
subtitle: PunkOps by allanger
|
subtitle: PunkOps by allanger
|
||||||
comments:
|
comments:
|
||||||
|
Reference in New Issue
Block a user