Skip to content

Merge pull request #579 from namespacecomm/new_branch_6 #49

Merge pull request #579 from namespacecomm/new_branch_6

Merge pull request #579 from namespacecomm/new_branch_6 #49

Workflow file for this run

name: Sync Fork with Main
on:
push:
branches:
- master # Trigger on pushes to the main repository's master branch
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Use Node.js version 20
uses: actions/setup-node@v2
with:
node-version: '20.x'
- name: Checkout main repo
uses: actions/checkout@v2
with:
repository: namespacecomm/NSCC-BPIT-Website
ref: master
- name: Checkout fork
uses: actions/checkout@v2
with:
repository: pradeeptosarkar/NSCC-BPIT-Website
- name: Merge changes from main repo
run: git merge master
- name: Push changes to fork
run: git push origin HEAD