This is an automated email from the ASF dual-hosted git repository.

vongosling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/master by this push:
     new e436832  Delete .utility directory
e436832 is described below

commit e436832e0d38bdda7f683b2773b7adb8578f3568
Author: von gosling <[email protected]>
AuthorDate: Wed Aug 18 09:06:20 2021 +0800

    Delete .utility directory
---
 .utility/push-site-to-master.sh | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/.utility/push-site-to-master.sh b/.utility/push-site-to-master.sh
deleted file mode 100644
index d132450..0000000
--- a/.utility/push-site-to-master.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-if [ "$TRAVIS_REPO_SLUG" == "apache/rocketmq-site" ] && [ 
"$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
-
-  echo -e "Publishing Apache RocketMQ site...\n"
-  rm -rf $HOME/rocketmq-site-latest
-  cp -R . $HOME/rocketmq-site-latest
-
-  cd $HOME
-  git config --global user.email "[email protected]"
-  git config --global user.name "travis-ci"
-  git clone --quiet --branch=asf-site 
https://${GH_TOKEN}@github.com/apache/rocketmq-site asf-site > /dev/null
-
-  cd asf-site
-  git rm -rf .
-  cp -Rf $HOME/rocketmq-site-latest/. .
-  git add -f .
-  git commit -m "Latest site on successful travis build $TRAVIS_BUILD_NUMBER 
auto-pushed to asf-site"
-  git push -fq origin asf-site > /dev/null
-
-  echo -e "Published rocketmq site to asf-site.\n"
-  
-fi

Reply via email to