diff --git a/.gitignore b/.gitignore index ea8db4a17f..79ee54d0ba 100644 --- a/.gitignore +++ b/.gitignore @@ -65,6 +65,3 @@ prog/externalui/externalui.go client/build-pkg client/bundle client/.yarnrc - -# Website -site-build diff --git a/.ruby-version b/.ruby-version deleted file mode 100644 index 097a15a2af..0000000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -2.6.2 diff --git a/Makefile b/Makefile index 2929ee082c..0a50daf7c2 100644 --- a/Makefile +++ b/Makefile @@ -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