-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6da846
commit a6234b1
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |