Skip to content

Update auto-publish.yml #2816

Update auto-publish.yml

Update auto-publish.yml #2816

Workflow file for this run

name: Git Repo Sync
on:
- push
- delete
permissions:
contents: write
jobs:
sync-bitbucket:
if: github.repository_owner == 'Fabulously-Optimized'
runs-on: ubuntu-24.04
name: Git Repo Sync - BitBucket
steps:
- name: Checkout Repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: Synchronize code to other Git platforms
uses: wangchucheng/git-repo-sync@63782025e80e84c48b25a1ee6bb9a22a3bd570d3 # 0.1.0
with:
target-url: ${{ secrets.BITBUCKET_GIT }}
target-username: ${{ secrets.BITBUCKET_USERNAME }}
target-token: ${{ secrets.BITBUCKET_TOKEN }}