Skip to content

Commit

Permalink
Update netlify deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
thasophearak committed Apr 17, 2022
1 parent b797d15 commit d703e38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ func main() {
log.Fatal("exec cloudflare.sh", err)
}
}
if moulConfig.GetString("deployment.target") == "netlify" {
cmd := exec.Command("mv", ".moul/netlify.toml", "netlify.toml")
_, err = cmd.Output()
if err != nil {
log.Fatal("exec mv", err)
}
}

return nil
},
Expand Down

0 comments on commit d703e38

Please sign in to comment.