Fix create folder
This commit is contained in:
parent
b373644748
commit
0cd5d4c176
@ -164,7 +164,6 @@ func main() {
|
|||||||
if pluginConfig.vaultToken != nil {
|
if pluginConfig.vaultToken != nil {
|
||||||
sugar.Info("💼 Adding vault token to 'credentials/ci_vault_token'")
|
sugar.Info("💼 Adding vault token to 'credentials/ci_vault_token'")
|
||||||
os.MkdirAll("credentials", 0755)
|
os.MkdirAll("credentials", 0755)
|
||||||
runCommand(sugar, "mkdir", "credentials")
|
|
||||||
err := os.WriteFile("credentials/ci_vault_token", []byte(*pluginConfig.vaultToken), 0644)
|
err := os.WriteFile("credentials/ci_vault_token", []byte(*pluginConfig.vaultToken), 0644)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
sugar.Fatal(err)
|
sugar.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user