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 20:04:17 UTC
[superset] branch tai/publish-docs-ci updated (a22c214 -> f0217b1)
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 a22c214 configure test run
discard b1c61e7 docs: add publish step
new 05552dd docs: add publish step
new f0217b1 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 (a22c214)
\
N -- N -- N refs/heads/tai/publish-docs-ci (f0217b1)
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 05552ddbd8591b48e70be6000bfe6682d2e25762
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..e70c40d 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 }}@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 f0217b1d307a059797cb261744d131d248fb6183
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 e70c40d..d0ad554 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