Skip to content

Commit

Permalink
netlify doesnt use docker?
Browse files Browse the repository at this point in the history
Signed-off-by: schristoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff committed May 16, 2024
1 parent 6237b1f commit 30dd4c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mage/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ const (
// Build the website in preparation for deploying to the production website on Netlify.
// Uses symlinks so it won't work on Windows. Don't run locally, use DocsPreview instead.
func Docs() {
// Remove the preview container because otherwise it holds a file open and we can't delete the volume mount created at docs/content/operator
mg.SerialDeps(removePreviewContainer, linkOperatorDocs)
mg.SerialDeps(linkOperatorDocs)

cmd := must.Command("hugo", "--source", "docs/")
baseURL := os.Getenv("BASEURL")
Expand Down

0 comments on commit 30dd4c8

Please sign in to comment.