From b763bdf4ab5de37f3e461610c19afb300f31965c Mon Sep 17 00:00:00 2001 From: Sherif Nada Date: Wed, 8 Jun 2022 03:32:56 -0700 Subject: [PATCH] Revert "add github workflows for publishing ERDs" This reverts commit c7a23c680bae67ae47a2637d8464ebc3af3f32b6. --- .github/actions/publish-connector-erd/action.yml | 14 -------------- .github/workflows/publish-command.yml | 6 ------ tools/erds/publish.sh | 2 -- 3 files changed, 22 deletions(-) delete mode 100644 .github/actions/publish-connector-erd/action.yml delete mode 100755 tools/erds/publish.sh diff --git a/.github/actions/publish-connector-erd/action.yml b/.github/actions/publish-connector-erd/action.yml deleted file mode 100644 index 105d80558842d..0000000000000 --- a/.github/actions/publish-connector-erd/action.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Publish Connector ERD -inputs: - connector: - description: connector_directory_name - required: true -runs: - using: "composite" - steps: - - name: Install dbdocs - run: sudo npm install -g dbdocs - - name: Check dbdocs - run: dbdocs - - name: Publish ERD - run: DBDOCS_TOKEN=${{ secrets.DBDOCS_TOKEN }} ./tools/erds/publish.sh ${{ inputs.connector_directory_name }} diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index 63e65daa3cab8..22890633a869c 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -151,12 +151,6 @@ jobs: SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_CONNECTOR_RELEASE_AUTH_TOKEN }} SENTRY_ORG: airbyte-5j SENTRY_PROJECT: airbyte-connectors - - name: Publish ERD - if: success() - id: publish-erd - uses: ./.github/actions/publish-connector-erd - with: - connector_directory_name: $(echo ${{ github.event.inputs.connector }} | cut -d"/" -f2) - name: Publish ${{ github.event.inputs.connector }} run: | echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} diff --git a/tools/erds/publish.sh b/tools/erds/publish.sh deleted file mode 100755 index 2fda930fd9671..0000000000000 --- a/tools/erds/publish.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -echo "Hello world!"