image: alpine/git:latest pipelines: branches: main: - step: name: Merge To Beta script: - git remote set-url origin https://Kabricks:${APP_SECRET}@bitbucket.org/dcsammi/${BITBUCKET_REPO_SLUG} - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - git fetch - git checkout beta - git merge main - git commit --amend -m "[skip ci] Merge changes from main" - git push - step: name: Deploy To Test script: - echo "Ready to deploy to demo or production!"