Fix create folder
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
SebClem 2023-07-04 17:20:46 +02:00
parent b373644748
commit 0cd5d4c176
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -164,7 +164,6 @@ func main() {
if pluginConfig.vaultToken != nil {
sugar.Info("💼 Adding vault token to 'credentials/ci_vault_token'")
os.MkdirAll("credentials", 0755)
runCommand(sugar, "mkdir", "credentials")
err := os.WriteFile("credentials/ci_vault_token", []byte(*pluginConfig.vaultToken), 0644)
if err != nil {
sugar.Fatal(err)