You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/01/06 04:12:52 UTC

[incubator-nuttx-website] branch asf-site updated: Publishing from ffb16a1abf42f9c66641c5ef463ece524cb64443

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

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


The following commit(s) were added to refs/heads/asf-site by this push:
     new 5315aef  Publishing from ffb16a1abf42f9c66641c5ef463ece524cb64443
5315aef is described below

commit 5315aef3a619f0a3c26d61938d82fd3528c894eb
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sun Jan 5 19:56:54 2020 -0800

    Publishing from ffb16a1abf42f9c66641c5ef463ece524cb64443
---
 content/community-members/index.html |  4 +++-
 content/community/index.html         |  4 +++-
 content/download/index.html          |  4 +++-
 content/feed.xml                     |  6 ++---
 content/history/index.html           |  4 +++-
 content/index.html                   |  4 +++-
 content/publish.sh                   | 45 ++++++++++++++++++++++++++++++++++++
 7 files changed, 63 insertions(+), 8 deletions(-)

diff --git a/content/community-members/index.html b/content/community-members/index.html
index 61c319c..40d05e7 100644
--- a/content/community-members/index.html
+++ b/content/community-members/index.html
@@ -60,7 +60,9 @@
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
                <ul class="dropdown-menu">
                 <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                <li><a href="http://www.apache.org/licenses/">License</a></li>
+                <li><a href="http://www.apache.org/security/">Security</a></li>
+                <li><a href="http://www.apache.org/events/current-event">Events</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 </ul>
diff --git a/content/community/index.html b/content/community/index.html
index c3a16d4..8083188 100644
--- a/content/community/index.html
+++ b/content/community/index.html
@@ -60,7 +60,9 @@
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
                <ul class="dropdown-menu">
                 <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                <li><a href="http://www.apache.org/licenses/">License</a></li>
+                <li><a href="http://www.apache.org/security/">Security</a></li>
+                <li><a href="http://www.apache.org/events/current-event">Events</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 </ul>
diff --git a/content/download/index.html b/content/download/index.html
index 674bffb..bbc8d6d 100644
--- a/content/download/index.html
+++ b/content/download/index.html
@@ -60,7 +60,9 @@
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
                <ul class="dropdown-menu">
                 <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                <li><a href="http://www.apache.org/licenses/">License</a></li>
+                <li><a href="http://www.apache.org/security/">Security</a></li>
+                <li><a href="http://www.apache.org/events/current-event">Events</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 </ul>
diff --git a/content/feed.xml b/content/feed.xml
index 08739a0..cf7ca2f 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -5,8 +5,8 @@
     <description></description>
     <link>/</link>
     <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Mon, 06 Jan 2020 08:43:34 +0800</pubDate>
-    <lastBuildDate>Mon, 06 Jan 2020 08:43:34 +0800</lastBuildDate>
+    <pubDate>Sun, 05 Jan 2020 19:56:54 -0800</pubDate>
+    <lastBuildDate>Sun, 05 Jan 2020 19:56:54 -0800</lastBuildDate>
     <generator>Jekyll v3.8.5</generator>
     
       <item>
@@ -17,7 +17,7 @@
 
 &lt;p&gt;We’re so pleased to be in the Apache Incbuator.&lt;/p&gt;
 </description>
-        <pubDate>Thu, 19 Dec 2019 20:00:00 +0800</pubDate>
+        <pubDate>Thu, 19 Dec 2019 04:00:00 -0800</pubDate>
         <link>/news/2019/12/19/hello/</link>
         <guid isPermaLink="true">/news/2019/12/19/hello/</guid>
         
diff --git a/content/history/index.html b/content/history/index.html
index 347becf..59cb952 100644
--- a/content/history/index.html
+++ b/content/history/index.html
@@ -60,7 +60,9 @@
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
                <ul class="dropdown-menu">
                 <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                <li><a href="http://www.apache.org/licenses/">License</a></li>
+                <li><a href="http://www.apache.org/security/">Security</a></li>
+                <li><a href="http://www.apache.org/events/current-event">Events</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 </ul>
diff --git a/content/index.html b/content/index.html
index eb0cde7..cbd1d59 100644
--- a/content/index.html
+++ b/content/index.html
@@ -60,7 +60,9 @@
               <a href="#" data-toggle="dropdown" class="dropdown-toggle">Apache<b class="caret"></b></a>
                <ul class="dropdown-menu">
                 <li><a href="http://www.apache.org/foundation/how-it-works.html">Apache Software Foundation</a></li>
-                <li><a href="http://www.apache.org/licenses/">Apache License</a></li>
+                <li><a href="http://www.apache.org/licenses/">License</a></li>
+                <li><a href="http://www.apache.org/security/">Security</a></li>
+                <li><a href="http://www.apache.org/events/current-event">Events</a></li>
                 <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
                 <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
                 </ul>
diff --git a/content/publish.sh b/content/publish.sh
new file mode 100755
index 0000000..592ccb5
--- /dev/null
+++ b/content/publish.sh
@@ -0,0 +1,45 @@
+#!/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
+
+gem install bundler:2.1.2
+bundle config set path 'vendor/bundle'
+bundle install 
+bundle exec jekyll clean --source .
+bundle exec jekyll build --source .
+
+COMMIT_HASH=`git rev-parse HEAD`
+git checkout asf-site
+#git pull --rebase
+rm -rf content
+mv target content
+git add content
+echo "Publishing changes from master branch $COMMIT_HASH"
+git commit -a -m "Publishing from $COMMIT_HASH"
+echo " "
+echo "==================================================================="
+echo "You are now on the asf-site branch with your new changes committed."
+echo " git push the 'asf-site' branch upstream to update the live site."
+echo "If you want to preview the content run a simple http server pointed"
+echo " at the content directory. This can be accomplished like this:"
+echo " python3 -m http.server --directory content 8080" 
+echo "==================================================================="
+echo " "
+
+set +e