diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a645056..b94d78f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,3 +24,5 @@ jobs: run: | dbt deps dbt build --target prod + with: + MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 53c4d44..91faf3d 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -8,9 +8,6 @@ on: schedule: - cron: "21 11 * * *" -env: - MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }} - jobs: scheduled: runs-on: macos-latest @@ -46,3 +43,5 @@ jobs: build_to_motherduck: uses: ./.github/workflows/build.yml needs: scheduled + secrets: + MOTHERDUCK_TOKEN: ${{ secrets.MOTHERDUCK_TOKEN }}