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

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new b6a24b8  Automatic Site Publish by Buildbot
b6a24b8 is described below

commit b6a24b805cd875f0b0e65602cbbe8ca650e5d260
Author: buildbot <[email protected]>
AuthorDate: Wed Dec 13 22:15:12 2023 +0000

    Automatic Site Publish by Buildbot
---
 output/script/cibuild | 69 ---------------------------------------------------
 1 file changed, 69 deletions(-)

diff --git a/output/script/cibuild b/output/script/cibuild
deleted file mode 100644
index cf2f1f9..0000000
--- a/output/script/cibuild
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/env bash
-
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -e # halt script on error
-
-URL="https://wayang.apache.org";
-BASE_URL="/"
-BRANCH_PAGE=asf-site
-
-export JEKYLL_ENV="production"
-
-echo "url: \"${URL}\"" > _config.yml.tmp
-echo "baseurl: \"${BASE_URL}\"" >> _config.yml.tmp
-cat _config.yml | grep -v "url:" >> _config.yml.tmp
-mv _config.yml.tmp _config.yml
-
-bundle exec jekyll build
-if [ "${VALIDATE}" != "" ]; then
-  bundle exec htmlproofer ./_site
-else
-  echo "it will not validate the site"
-fi
-
-mkdir -p ../tmp
-mv ./_site/* ../tmp
-rm -rf ../tmp/script
-cp DISCLAIMER ../tmp
-cp LICENSE.TXT ../tmp
-cp NOTICE.TXT ../tmp
-cp .gitignore ../tmp
-cp .asf.yaml ../tmp
-
-#git pull origin ${BRANCH_PAGE} --allow-unrelated-histories
-#git checkout ${BRANCH_PAGE}
-
-REPO_URL=$(git remote get-url origin)
-git clone --depth=50 --branch=${BRANCH_PAGE} ${REPO_URL} ../${BRANCH_PAGE}
-
-cd ../${BRANCH_PAGE}
-#delete the old file that it was not gerenated
-rm -rf $(diff --exclude=".git" --exclude="./docs" -q ../tmp/ ./ | awk '/Only 
in \.\//{print substr($3, 1, length($3)-1) "" $4}')
-
-rsync -av ../tmp/* ./
-cp ../tmp/.gitignore ./
-cp ../tmp/.asf.yaml ./
-
-git add -A
-git status
-git commit -m "Lastest site built on successful travis build 
$TRAVIS_BUILD_NUMBER auto-pushed to github"
-git remote set-url origin 
https://${USER}:${TOKEN}@github.com/${TRAVIS_REPO_SLUG}
-git push origin ${BRANCH_PAGE}:${BRANCH_PAGE}
-
-

Reply via email to