Skip to content

Push to Prod branch

Push to Prod branch #9

Workflow file for this run

name: Push to Prod branch
on: [workflow_dispatch, workflow_call]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to Prod
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions-bot"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout 1.20.1/fabric/prod
git merge 1.20.1/fabric/dev --no-ff -m "Merge dev into prod"
git push origin 1.20.1/fabric/prod