Images are pushed every time

{
"github": {
"branch": "master",
"automaticallyMergePR": false,
"dryRun": {
"enable": false,
"folderName": "github-publisher"
},
"tokenPath": "%configDir%/plugins/%pluginID%/env",
"api": {
"tiersForApi": "Github Free/Pro/Team (default)",
"hostname": ""
},
"workflow": {
"commitMessage": "[PUBLISHER] Merge",
"name": ""
},
"verifiedRepo": true
},
"upload": {
"behavior": "yaml",
"defaultName": "src/content/blog",
"rootFolder": "src/content",
"yamlFolderKey": "type",
"frontmatterTitle": {
"enable": false,
"key": "slug"
},
"replaceTitle": [
{
"regex": "/\\s+/g",
"replacement": "-",
"type": "title"
}
],
"replacePath": [],
"autoclean": {
"includeAttachments": true,
"enable": true,
"excluded": []
},
"folderNote": {
"enable": false,
"rename": "index.md",
"addTitle": {
"enable": false,
"key": "title"
}
},
"metadataExtractorPath": ""
},
"conversion": {
"hardbreak": false,
"dataview": true,
"censorText": [
{
"entry": "/!\\[\\[(.*\\.((mov)|(mp4)|(webm)))\\|?(.*?)?]]/gi",
"replace": "![$6](/videos/$1)",
"flags": "",
"after": false
},
{
"entry": "/banner: \"\\[\\[(.*)\\]\\]\"/gi",
"replace": "banner: ../../assets/$1",
"flags": "",
"after": false
},
{
"entry": "/cardCover: \"\\[\\[(.*)\\]\\]\"/gi",
"replace": "cardCover: ../../assets/$1",
"flags": "",
"after": false
}
],
"tags": {
"inline": false,
"exclude": [],
"fields": []
},
"links": {
"internal": true,
"unshared": false,
"wiki": true,
"slugify": "strict",
"unlink": false
}
},
"embed": {
"attachments": true,
"overrideAttachments": [
{
"path": "/.*(mov|webm|mp4)$/",
"destination": "/public/videos/{{name}}",
"forcePush": false
}
],
"keySendFile": [
"banner",
"cardCover"
],
"notes": false,
"folder": "src/assets",
"convertEmbedToLinks": "keep",
"charConvert": "->",
"unHandledObsidianExt": [],
"sendSimpleLinks": true,
"useObsidianFolder": false
},
"plugin": {
"shareKey": "share",
"excludedFolder": [
"Journals"
],
"copyLink": {
"enable": false,
"links": "https://simo.sh",
"removePart": [],
"transform": {
"toUri": true,
"slugify": "strict",
"applyRegex": []
}
},
"setFrontmatterKey": "Set",
"shareAll": {
"enable": false,
"excludedFileName": "DRAFT"
}
},
"tabsId": "embed-configuration"
}
{
"github": {
"branch": "master",
"automaticallyMergePR": false,
"dryRun": {
"enable": false,
"folderName": "github-publisher"
},
"tokenPath": "%configDir%/plugins/%pluginID%/env",
"api": {
"tiersForApi": "Github Free/Pro/Team (default)",
"hostname": ""
},
"workflow": {
"commitMessage": "[PUBLISHER] Merge",
"name": ""
},
"verifiedRepo": true
},
"upload": {
"behavior": "yaml",
"defaultName": "src/content/blog",
"rootFolder": "src/content",
"yamlFolderKey": "type",
"frontmatterTitle": {
"enable": false,
"key": "slug"
},
"replaceTitle": [
{
"regex": "/\\s+/g",
"replacement": "-",
"type": "title"
}
],
"replacePath": [],
"autoclean": {
"includeAttachments": true,
"enable": true,
"excluded": []
},
"folderNote": {
"enable": false,
"rename": "index.md",
"addTitle": {
"enable": false,
"key": "title"
}
},
"metadataExtractorPath": ""
},
"conversion": {
"hardbreak": false,
"dataview": true,
"censorText": [
{
"entry": "/!\\[\\[(.*\\.((mov)|(mp4)|(webm)))\\|?(.*?)?]]/gi",
"replace": "![$6](/videos/$1)",
"flags": "",
"after": false
},
{
"entry": "/banner: \"\\[\\[(.*)\\]\\]\"/gi",
"replace": "banner: ../../assets/$1",
"flags": "",
"after": false
},
{
"entry": "/cardCover: \"\\[\\[(.*)\\]\\]\"/gi",
"replace": "cardCover: ../../assets/$1",
"flags": "",
"after": false
}
],
"tags": {
"inline": false,
"exclude": [],
"fields": []
},
"links": {
"internal": true,
"unshared": false,
"wiki": true,
"slugify": "strict",
"unlink": false
}
},
"embed": {
"attachments": true,
"overrideAttachments": [
{
"path": "/.*(mov|webm|mp4)$/",
"destination": "/public/videos/{{name}}",
"forcePush": false
}
],
"keySendFile": [
"banner",
"cardCover"
],
"notes": false,
"folder": "src/assets",
"convertEmbedToLinks": "keep",
"charConvert": "->",
"unHandledObsidianExt": [],
"sendSimpleLinks": true,
"useObsidianFolder": false
},
"plugin": {
"shareKey": "share",
"excludedFolder": [
"Journals"
],
"copyLink": {
"enable": false,
"links": "https://simo.sh",
"removePart": [],
"transform": {
"toUri": true,
"slugify": "strict",
"applyRegex": []
}
},
"setFrontmatterKey": "Set",
"shareAll": {
"enable": false,
"excludedFileName": "DRAFT"
}
},
"tabsId": "embed-configuration"
}
When I run Upload single current active note, Enveloppe keeps reuploading my images, even if they haven't changed and also reuploads any linked notes (recursively). This happens even if those notes are already in the repo
No description
Solution:
It will always "push" the first note (when using with "send active note") but not always the other
Jump to solution
3 Replies
Mara
Mara2mo ago
Can repo :check: For some reason, can't repro on last version (7.3.2) :fronk: Also, for recursive send even if already in repo, it's intended, as I must made a call to check if a file is already in the repo to get the info. So, pushing a file will be 2 call instead of one. I can made an option to force push note or note, if you want! Added in last version, in embed tab settings @fr3fou If you want you can update to the latest version, so you can prevent pushing an already existing & not edited file !
fr3fou
fr3fouOP2mo ago
thanks!!
Solution
Mara
Mara2mo ago
It will always "push" the first note (when using with "send active note") but not always the other
Want results from more Discord servers?
Add your server