File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 45
45
46
46
- name : Docker metadata
47
47
# disable this step
48
- # if: false
48
+ if : false
49
49
id : metadata
50
50
uses : docker/metadata-action@v5
51
51
with :
@@ -88,10 +88,10 @@ jobs:
88
88
"ARG_SITE_URL=${{ env.SITE_URL }}"
89
89
"ARG_PLAUSIBLE_SCRIPT_URL=${{ env.PLAUSIBLE_SCRIPT_URL }}"
90
90
push : true
91
- # tags: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
91
+ tags : ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
92
92
# disabled metadata step
93
- tags : ${{ steps.metadata.outputs.tags }}
94
- labels : ${{ steps.metadata.outputs.labels }}
95
- cache-from : type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache
96
- cache-to : type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
97
- # cache-to: type=inline
93
+ # tags: ${{ steps.metadata.outputs.tags }}
94
+ # labels: ${{ steps.metadata.outputs.labels }}
95
+ # cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache
96
+ # cache-to: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
97
+ cache-to : type=inline
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ import type { Metadata } from '@/types/common';
15
15
16
16
const { AUTHOR_NAME, PLAUSIBLE_SCRIPT_URL } = CONFIG_CLIENT ;
17
17
18
+ // this must be the same for all mirrors
19
+ const PLAUSIBLE_DATA_DOMAIN = ' nemanjamitic.com' ;
18
20
export interface BaseHeadProps {
19
21
metadata: Metadata ;
20
22
}
@@ -107,7 +109,12 @@ const ogImageUrl = new URL(image, url);
107
109
PLAUSIBLE_SCRIPT_URL && (
108
110
<>
109
111
<link rel = " preconnect" href = { PLAUSIBLE_SCRIPT_URL } />
110
- <script defer type = " text/partytown" data-domain = { host } src = { PLAUSIBLE_SCRIPT_URL } />
112
+ <script
113
+ defer
114
+ type = " text/partytown"
115
+ data-domain = { PLAUSIBLE_DATA_DOMAIN }
116
+ src = { PLAUSIBLE_SCRIPT_URL }
117
+ />
111
118
</>
112
119
)
113
120
}
You can’t perform that action at this time.
0 commit comments