You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ta...@apache.org on 2021/04/22 19:45:08 UTC
[superset] branch tai/publish-docs-ci updated (e94d9b6 -> b5d2305)
This is an automated email from the ASF dual-hosted git repository.
tai pushed a change to branch tai/publish-docs-ci
in repository https://gitbox.apache.org/repos/asf/superset.git.
discard e94d9b6 configure test run
discard d53b817 docs: add publish step
new 3e851bf docs: add publish step
new b5d2305 configure test run
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 (e94d9b6)
\
N -- N -- N refs/heads/tai/publish-docs-ci (b5d2305)
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 2 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/superset-docs.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[superset] 01/02: docs: add publish step
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tai pushed a commit to branch tai/publish-docs-ci
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 3e851bf0c7e3e587d1e1c9a4eda06d2b1e3d5d19
Author: Tai Dupree <td...@gmail.com>
AuthorDate: Thu Apr 22 12:07:40 2021 -0700
docs: add publish step
---
.github/workflows/superset-docs.yml | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/superset-docs.yml b/.github/workflows/superset-docs.yml
index 7dbe60d..4963c4e 100644
--- a/.github/workflows/superset-docs.yml
+++ b/.github/workflows/superset-docs.yml
@@ -9,8 +9,8 @@ on:
- "docs/**"
jobs:
- docs:
- name: docs
+ build-deploy:
+ name: Build & Deploy
runs-on: ubuntu-20.04
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
@@ -29,3 +29,14 @@ jobs:
working-directory: ./docs
run: |
npm run build
+ - name: deploy docs
+ if: github.ref == 'refs/heads/master'
+ working-directory: ./docs/public
+ run: |
+ git config user.name "Superset Bot"
+ git config user.email "dev@superset.apache.org"
+ git remote add asf-site "https:/${{ secrets.SUPERSET_SITE_BUILD }}/@git.github.com/apache/superset-site.git"
+ git pull asf-site master
+ git add .
+ git commit -m "Publishing superset site for commit ${{ github.sha }}"
+ git push -u asf-site master
[superset] 02/02: configure test run
Posted by ta...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tai pushed a commit to branch tai/publish-docs-ci
in repository https://gitbox.apache.org/repos/asf/superset.git
commit b5d23050674fb2ac5e2fa85aa266f929567a9471
Author: Tai Dupree <td...@gmail.com>
AuthorDate: Thu Apr 22 12:10:08 2021 -0700
configure test run
---
.github/workflows/superset-docs.yml | 4 ++--
docs/README.md | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/superset-docs.yml b/.github/workflows/superset-docs.yml
index 4963c4e..1abb1a6 100644
--- a/.github/workflows/superset-docs.yml
+++ b/.github/workflows/superset-docs.yml
@@ -30,7 +30,7 @@ jobs:
run: |
npm run build
- name: deploy docs
- if: github.ref == 'refs/heads/master'
+ if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/tai/publish-docs-ci'
working-directory: ./docs/public
run: |
git config user.name "Superset Bot"
@@ -39,4 +39,4 @@ jobs:
git pull asf-site master
git add .
git commit -m "Publishing superset site for commit ${{ github.sha }}"
- git push -u asf-site master
+ git push -u asf-site test-branch
diff --git a/docs/README.md b/docs/README.md
index fb7636e..17318fd 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -23,7 +23,6 @@ Here's the source to the documentation hosted at
The site runs on the Gatsby framework and uses docz for it's
`Documentation` subsection.
-
## Getting Started
```bash