diff --git a/mkdocsPublisher/settings.ts b/mkdocsPublisher/settings.ts index b2c45a48..e70982d4 100644 --- a/mkdocsPublisher/settings.ts +++ b/mkdocsPublisher/settings.ts @@ -187,7 +187,7 @@ export class MkdocsSettingsTab extends PluginSettingTab { .setPlaceholder('ci') .setValue(this.plugin.settings.workflowName) .onChange(async(value)=> { - this.plugin.settings.workflowName = value.trim() +'.yml'; + this.plugin.settings.workflowName = value.trim().replace('.yml', '') + '.yml' await this.plugin.saveSettings(); }); });