From c37bc7e07103a10fead675be0923e3fdc593a305 Mon Sep 17 00:00:00 2001 From: Alexander Aksenov Date: Tue, 06 Sep 2022 19:21:16 +0000 Subject: [PATCH] change github action --- --- a/.github/workflows/autogen-js-types.yml +++ b/.github/workflows/autogen-js-types.yml @@ -122,17 +122,17 @@ git config user.email github-actions@github.com git add . git commit -m "chore: regenerate types" - - - name: Push changes - uses: ad-m/github-push-action@master + - name: Pushes to another repository + id: push_directory + uses: cpina/github-action-push-to-another-repository@main + env: + SSH_DEPLOY_KEY: ${{ secrets.GH_MAK }} with: - github_token: ${{ secrets.GH_MAK }} - branch: ${{ matrix.branch }} - repository: 'lzadjsf/unique-types-js.git' - ssh: true - - + source-directory: tests/unique-types-js + destination-repository-name: 'lzadjsf/unique-types-js' + commit-message: 'chore: regenerate types' + target-branch: ${{ matrix.branch }} - name: Stop running containers -- gitstuff