Skip to content

publish sentry environment #11

publish sentry environment

publish sentry environment #11

Workflow file for this run

name: Sync Staging with Main
on:
push:
branches:
- main
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: staging
- name: Setup Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Fetch main branch
run: git fetch origin main
- name: Merge main into staging
run: git merge origin/main --no-edit --allow-unrelated-histories
- name: Push changes to staging
run: git push origin staging
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}