From 52fb124530773d42c0b18bb37c512449b992af8b Mon Sep 17 00:00:00 2001 From: Mehdi OUAZZA Date: Thu, 19 Sep 2024 13:24:27 +0200 Subject: [PATCH] Feat/add update share (#28) * update md share * debugging pipeline --- .github/workflows/pipeline-ingest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline-ingest.yml b/.github/workflows/pipeline-ingest.yml index ecc9a57..bcf5fac 100644 --- a/.github/workflows/pipeline-ingest.yml +++ b/.github/workflows/pipeline-ingest.yml @@ -150,9 +150,9 @@ jobs: make pypi-transform DOCKER=true DBT_TARGET=${DBT_TARGET} update-motherduck-share: - needs: setup + needs: transform-pypi-data runs-on: ubuntu-latest - if: needs.setup.outputs.run_update == 'true' + if: needs.transform-pypi-data.result == 'success' || needs.transform-pypi-data.result == 'skipped' steps: - name: Setup DuckDB uses: opt-nc/setup-duckdb-action@v1.0.8 @@ -163,4 +163,4 @@ jobs: env: motherduck_token: ${{ secrets.MOTHERDUCK_TOKEN }} run: | - duckdb -c "attach 'md:';update share duckdb_stats" + duckdb -c "attach 'md:';"