Skip to content

Commit

Permalink
Create sync-firebase-deploy.yml
Browse files Browse the repository at this point in the history
Create workflow to sync firebase_deploy branch with main
  • Loading branch information
CKCarr authored Dec 20, 2023
1 parent d320d8a commit 3d99f4a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sync-firebase-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Sync firebase_deploy with Main Branch

on:
push:
branches:
- main

jobs:
sync-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout firebase_deploy branch
uses: actions/checkout@v2
with:
ref: firebase_deploy

- name: Set up Git
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
- name: Fetch and merge changes from main
run: |
git fetch origin main
git merge origin/main
git push origin firebase_deploy

0 comments on commit 3d99f4a

Please sign in to comment.