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:11:28 UTC
[superset] branch tai/publish-docs-ci created (now 9576635)
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.
at 9576635 configure test run
This branch includes the following new commits:
new e7b3f3e docs: add publish step
new 9576635 configure test run
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.
[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 95766359ae8d1942f49ec7598ff188c5b7f1e313
Author: Tai Dupree <td...@gmail.com>
AuthorDate: Thu Apr 22 12:10:08 2021 -0700
configure test run
---
.github/workflows/superset-docs.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/superset-docs.yml b/.github/workflows/superset-docs.yml
index b780f2e..c0ba66b 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
run: |
git config user.name "Superset Bot"
@@ -39,4 +39,4 @@ jobs:
git pull origin master
git add .
git commit -m "Publishing superset site for commit ${{ github.sha }}"
- git push -u origin master
+ git push -u origin test-branch
[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 e7b3f3ec5fca965221cbc69dffd3006016ec8bb9
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..b780f2e 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 docs
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
+ run: |
+ git config user.name "Superset Bot"
+ git config user.email "dev@superset.apache.org"
+ git remote set-url origin "https:/${{ secrets.SUPERSET_SITE_BUILD }}/@git.github.com/apache/superset-site.git"
+ git pull origin master
+ git add .
+ git commit -m "Publishing superset site for commit ${{ github.sha }}"
+ git push -u origin master