Skip to content

Commit

Permalink
Merge pull request #13 from maxisoft/dev
Browse files Browse the repository at this point in the history
feat: update push-to-another-repository action and add branch creation
  • Loading branch information
maxisoft authored Jul 27, 2024
2 parents 2497c1c + 25466e7 commit bd61113
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/doit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,16 @@ jobs:
echo "DEPLOY_TO_REPOSITORY prepared" >> $GITHUB_STEP_SUMMARY
- name: Push kernels directory to another repository
uses: cpina/github-action-push-to-another-repository@v1
uses: cpina/github-action-push-to-another-repository@v1.7.2
if: ${{ env.DEPLOY_TO_REPOSITORY == 'true' && github.actor == github.repository_owner }}
with:
source-directory: tmp
destination-github-username: ${{ env.DESTINATION_REPOSITORY_USERNAME || github.actor }}
destination-repository-name: ${{ env.DESTINATION_REPOSITORY_NAME }}
user-name: ${{ github.actor }}
user-email: ${{ github.actor }}@users.noreply.github.com
destination-repository-name: ${{ env.DESTINATION_REPOSITORY_NAME }}
create-target-branch-if-needed: true
target-branch: main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}

Expand Down

0 comments on commit bd61113

Please sign in to comment.