Skip to content

Commit

Permalink
Merge pull request #3879 from weaveworks/remove-netlify-config
Browse files Browse the repository at this point in the history
remove netlify preview build
  • Loading branch information
Daniel Holbach authored Jul 13, 2021
2 parents e980456 + c73bd14 commit 14ba625
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,3 @@ prog/externalui/externalui.go
client/build-pkg
client/bundle
client/.yarnrc

# Website
site-build
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -251,14 +251,3 @@ deps:
$(GO) get -u -f \
github.com/mattn/goveralls \
github.com/2opremio/trifles/wscat

# This target is only intended for use in Netlify CI environment for generating preview pages on feature branches and pull requests.
# We need to obtain website repository (checked out under `site-build`) and place `site` directory into the context (`site-build/_weave_net_docs`).
# We then run make in `site-build` and Netlify will publish the output (`site-build/_site`).
netlify-site-preview:
@mkdir -p site-build
@curl --user $(WEBSITE_GITHUB_USER) --silent 'https://codeload.github.com/weaveworks/website-next/tar.gz/$(WEBSITE_BRANCH)' \
| tar --extract --gunzip --directory site-build --strip 1
@cp -r site site-build/_weave_scope_docs
@$(MAKE) -C site-build netlify_ensure_install
@$(MAKE) -C site-build BUILD_ENV=netlify

0 comments on commit 14ba625

Please sign in to comment.