image: alpine/git:latest
pipelines:
  branches:
    main:
      - step:
          name: Syncing to INSTAPLUG WORDPRESS IN GITHUB
          script:
            - git --version
            - git remote add sync $GIT_URL
            - git remote -v
            - git fetch --all
            - git checkout $BITBUCKET_BRANCH
            - git pull origin $BITBUCKET_BRANCH
            - git push sync $BITBUCKET_BRANCH
