From 27ffd1b2e6108da593c2f216ab97687214714a95 Mon Sep 17 00:00:00 2001 From: christopherbrumm Date: Tue, 28 Nov 2023 14:50:35 +0100 Subject: [PATCH] update: build workflow. --- .github/workflows/build_registry.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_registry.yml b/.github/workflows/build_registry.yml index 3b1600b..a687ec5 100644 --- a/.github/workflows/build_registry.yml +++ b/.github/workflows/build_registry.yml @@ -25,11 +25,16 @@ jobs: run: python .github/build_registry.py .github/registry.yml working-directory: ${{ github.workspace }} - - name: Commit and push changes + - name: Commit built registry run: | - git config --local user.email "actions@github.com" - git config --local user.name "GitHub Actions" + git config --local user.email "security@kyve.network" + git config --local user.name "kyve-network" git add .github/registry.yml - git commit -m "Update registry.yml" - git push - working-directory: ${{ github.workspace }} \ No newline at end of file + git commit -m "🎉 Update registry.yml" + working-directory: ${{ github.workspace }} + + - name: Push built registry + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.PAT_TOKEN }} + force: true \ No newline at end of file