From 612e5a0a264ee2859dba977850d37623c5344a79 Mon Sep 17 00:00:00 2001 From: Tobias Brenner <19689801+brenner-tobias@users.noreply.github.com> Date: Thu, 20 Jan 2022 22:49:19 +0100 Subject: [PATCH] Update push-to-beta.yml --- .github/workflows/push-to-beta.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-to-beta.yml b/.github/workflows/push-to-beta.yml index f377403..56c1d56 100644 --- a/.github/workflows/push-to-beta.yml +++ b/.github/workflows/push-to-beta.yml @@ -1,7 +1,7 @@ -# This workflow pushes the main branch to the beta repo - +--- name: Push to beta repo +# yamllint disable-line rule:truthy on: push: branches: [ main ] @@ -21,4 +21,12 @@ jobs: # Runs a set of commands using the runners shell - name: Pushes to beta repository - run: pwd + uses: cpina/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + with: + source-directory: '/home/runner/work/ha-addons/ha-addons' + destination-github-username: 'brenner-tobias' + destination-repository-name: 'ha-addons-beta' + user-email: 19689801+brenner-tobias@users.noreply.github.com + target-branch: main