From ea166e40979c8c13537f16f08a56839ba3cc46d4 Mon Sep 17 00:00:00 2001 From: Stijnvandenbroek Date: Wed, 11 Mar 2026 12:54:13 +0000 Subject: [PATCH] fix: coverage --- .github/workflows/ci.yml | 12 +++++++----- README.md | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1297df9..6da4962 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,10 +90,12 @@ jobs: source: coverage.json output: coverage-badge.svg - - name: Upload coverage badge to Gist + - name: Deploy coverage badge if: github.ref == 'refs/heads/main' - uses: exuanbo/actions-deploy-gist@v1 + uses: peaceiris/actions-gh-pages@v4 with: - token: ${{ secrets.GIST_TOKEN }} - gist_id: ${{ vars.COVERAGE_GIST_ID }} - file_path: coverage-badge.svg + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./ + publish_branch: coverage-badge + keep_files: false + include_files: coverage-badge.svg diff --git a/README.md b/README.md index a6e2f8c..4290f75 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # data-platform [![CI](https://github.com/Stijnvandenbroek/data-platform/actions/workflows/ci.yml/badge.svg)](https://github.com/Stijnvandenbroek/data-platform/actions/workflows/ci.yml) -![Coverage](https://gist.githubusercontent.com/Stijnvandenbroek/COVERAGE_GIST_ID/raw/coverage-badge.svg) +![Coverage](https://raw.githubusercontent.com/Stijnvandenbroek/data-platform/coverage-badge/coverage-badge.svg) ![Python 3.12](https://img.shields.io/badge/python-3.12-blue) ![dbt](https://img.shields.io/badge/dbt-core-orange) ![Dagster](https://img.shields.io/badge/dagster-orchestration-4F43DD)