You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by yu...@apache.org on 2021/08/17 19:07:12 UTC
[rocketmq-site] branch master updated (ccb1a21 -> 28a74d2)
This is an automated email from the ASF dual-hosted git repository.
yuzhou pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git.
discard ccb1a21 Create main.yml
new 28a74d2 use github action to publish site automatically
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (ccb1a21)
\
N -- N -- N refs/heads/master (28a74d2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/publish-asf-site.yml | 2 +-
.travis.yml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
[rocketmq-site] 01/01: use github action to publish site
automatically
Posted by yu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yuzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git
commit 28a74d2e9f476a532861a1e1d460ff8f76621e8c
Author: yuz10 <84...@qq.com>
AuthorDate: Wed Aug 18 01:26:27 2021 +0800
use github action to publish site automatically
---
.github/workflows/publish-asf-site.yml | 39 ++++++++++++++++++++++++++++++++++
.travis.yml | 4 ++--
2 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/publish-asf-site.yml b/.github/workflows/publish-asf-site.yml
new file mode 100644
index 0000000..47e0838
--- /dev/null
+++ b/.github/workflows/publish-asf-site.yml
@@ -0,0 +1,39 @@
+name: publish-asf-site
+
+on:
+ push:
+ branches: [ master ]
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ path: rocketmq-site
+
+ - run: |
+ cd $GITHUB_WORKSPACE/rocketmq-site/
+ sudo gem install jekyll bundler
+ bundle install
+ bundle exec jekyll build
+ rm .git/ -rf
+
+ - uses: actions/checkout@v2
+ with:
+ ref: asf-site
+ path: asf-site
+
+ - run: |
+ cd $GITHUB_WORKSPACE/asf-site/
+ git rm -rf .
+ cp -Rf $GITHUB_WORKSPACE/rocketmq-site/. .
+ ls
+ git config --global user.email "action@github.com"
+ git config --global user.name "github-action"
+ git add .
+ git status
+ git commit -m "Latest site on successful build auto-pushed to asf-site"
+ git push
diff --git a/.travis.yml b/.travis.yml
index f0c5da0..46e0659 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,5 +8,5 @@ env:
script:
- bundle install
- bundle exec jekyll build
-after_success:
-- bash .utility/push-site-to-master.sh
+#after_success:
+#- bash .utility/push-site-to-master.sh