From 0d7f99f28b53c27af591fc56b3d83daa13aec42f Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 25 Jan 2024 17:26:37 -0800 Subject: [PATCH] trigger --- .github/workflows/superset-docs.yml | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/.github/workflows/superset-docs.yml b/.github/workflows/superset-docs.yml index 63cc8fec40097..0be2c5975b132 100644 --- a/.github/workflows/superset-docs.yml +++ b/.github/workflows/superset-docs.yml @@ -19,33 +19,13 @@ jobs: secrets: inherit build-deploy: needs: check-secrets - if: needs.check-secrets.outputs.hassecret == 'true' + #if: needs.check-secrets.outputs.hassecret == 'true' name: Build & Deploy runs-on: ubuntu-20.04 defaults: run: working-directory: docs steps: - - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" - uses: actions/checkout@v3 - with: - persist-credentials: false - submodules: recursive - name: yarn install run: | - yarn install --check-cache - - name: yarn build - run: | - yarn build - - name: deploy docs - if: github.ref == 'refs/heads/master' - uses: ./.github/actions/github-action-push-to-another-repository - env: - API_TOKEN_GITHUB: ${{ secrets.SUPERSET_SITE_BUILD }} - with: - source-directory: './docs/build' - destination-github-username: 'apache' - destination-repository-name: 'superset-site' - target-branch: 'asf-site' - commit-message: "deploying docs: ${{ github.event.head_commit.message }} (apache/superset@${{ github.sha }})" - user-email: dev@superset.apache.org + echo ${{needs.check-secrets.outputs.hassecret }}