Revert "Fix website asset pipeline + add publish script (WIP) (#2624)"
This reverts commit 081435408ebb82177a74cda0fee0919f73f845bb.
diff --git a/scripts/publish.sh b/scripts/publish.sh
deleted file mode 100644
index b62a355..0000000
--- a/scripts/publish.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-ROOT_DIR=$(git rev-parse --show-toplevel)
-ORIGINAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
-
-(
- cd $ROOT_DIR
- rm -rf website/public
- git submodule update --init
- cd $ROOT_DIR/website/public
- git checkout gh-pages
- cd $ROOT_DIR/website
- make site
- cd $ROOT_DIR/website/public
- git commit -am "new build"
- git push
- git checkout $ORIGINAL_BRANCH
-)
diff --git a/website/Makefile b/website/Makefile
index fe6196b..867759b 100755
--- a/website/Makefile
+++ b/website/Makefile
@@ -4,7 +4,7 @@
scripts/setup.sh
clean:
- rm -rf public/* static/api static/style.css static/style*.css
+ rm -rf public/* static/api static/style.css static/style*.css static/js
serve:
@hugo serve --buildDrafts
@@ -34,9 +34,6 @@
@make python-docs
@make pages
-publish:
- @scripts/publish.sh
-
travis-site:
@make clean
@make build-static-assets
diff --git a/website/config.yaml b/website/config.yaml
index aa4647f..6b77e46 100755
--- a/website/config.yaml
+++ b/website/config.yaml
@@ -20,9 +20,9 @@
author: Twitter, Inc.
description: A realtime, distributed, fault-tolerant stream processing engine from Twitter
versions:
- heron: 0.17.1
+ heron: 0.17.0
bazel: 0.5.4
- heronpy: 0.17.1
+ heronpy: 0.17.0
assets:
favicon:
small: /img/favicon-16x16.png
diff --git a/website/scripts/publish.sh b/website/scripts/publish.sh
deleted file mode 100755
index d0ad522..0000000
--- a/website/scripts/publish.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-ROOT_DIR=$(git rev-parse --show-toplevel)
-ORIGINAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
-
-(
- rm -rf $ROOT_DIR/website/public
- cd $ROOT_DIR
- git submodule update --init
- cd $ROOT_DIR/website/public
- git checkout gh-pages
- cd $ROOT_DIR/website
- make site && \
- cd $ROOT_DIR/website/public && \
- git commit -am "new build" && \
- cd $ROOT_DIR && \
- rm -rf $ROOT_DIR/website/public && \
- git submodule update --init
-)