From a6234b148a875f17a4ed01f7c08509cdb1f1fdd1 Mon Sep 17 00:00:00 2001 From: Sam Shervin S <121488288+sam-shervin@users.noreply.github.com> Date: Mon, 25 Mar 2024 10:49:52 +0530 Subject: [PATCH] Update automatedpr.yml --- .github/workflows/automatedpr.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/automatedpr.yml b/.github/workflows/automatedpr.yml index 2c6a796..a1373be 100644 --- a/.github/workflows/automatedpr.yml +++ b/.github/workflows/automatedpr.yml @@ -1,21 +1,21 @@ -name: Push to Fork +name: Push to Forked Repository on: push: branches: - - sam-patch + - sam-patch # You can specify the branch you want to trigger this workflow for jobs: - build: + push_to_forked_repo: runs-on: ubuntu-latest - + steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Push to Fork - uses: ad-m/push-to-fork@v1 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch_to_push: sam-patch - fork_branch: sam-shervin/hackhub-24-testdeploy/master + - name: Checkout Repository + uses: actions/checkout@v2 # This action checks out your repository + + # If needed, set up any environment variables or configurations here + + - name: Push to Forked Repository + run: | + git remote add hackhub-24-testdeploy https://github.com/sam-shervin/hackhub-24-testdeploy + git push hackhub-24-testdeploy sam-patch:master