Skip to content

Commit

Permalink
chore(ci): set up release branches in sync for now
Browse files Browse the repository at this point in the history
  • Loading branch information
adjkant committed Apr 11, 2024
1 parent 5a6ec32 commit c42b1d9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/push-branches-from-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Push changes to beta and alpha branches"

on:
push:
branches:
- main

jobs:
dev-branch-push:
name: "Push to beta and alpha branches"
environment:
name: main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e
with:
token: ${{ secrets.SERVICE_ACCOUNT_PAT }}
ref: main

- name: Setup git
run: |
git config user.name "UL Mobile Service Account"
git config user.email "[email protected]"
- name: ↗️ Push to beta
run: |
git push -u origin main:beta --force
- name: ↗️ Push to alpha
run: |
git push -u origin main:alpha --force

0 comments on commit c42b1d9

Please sign in to comment.