From 6346b06eb3b9c1babd0d00d2d83197a77d7e3faa Mon Sep 17 00:00:00 2001 From: Hussein Galal Date: Wed, 3 Jan 2024 02:08:10 +0200 Subject: [PATCH] Add github config mail and username for pushing k3k release (#75) Signed-off-by: galal-hussein --- .drone.yml | 2 +- ops/index-chart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6bead491..6ce79abd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,7 +49,7 @@ steps: from_secret: github_token checksum: - sha256 - checksum_file: CHECKSUMsum-amd64.txt + checksum_file: CHECKSUMsum.txt checksum_flatten: true files: - "deploy/*" diff --git a/ops/index-chart b/ops/index-chart index 94a234a4..1c22850e 100755 --- a/ops/index-chart +++ b/ops/index-chart @@ -21,8 +21,8 @@ cr index --token ${GITHUB_TOKEN} \ -o rancher # push to gh-pages +git config --global user.email "drone[bot]@users.noreply.github.com" +git config --global user.name "drone[bot]" git add index.yaml git commit -m "add chart-${CHART_TAG} to index.yaml" git push --set-upstream origin HEAD:gh-pages - -