fabulously-optimized/.github/workflows/git-repo-sync.yml
Kichura 13b765f721
Update release-downloader to 1.9, Remove "the" from step names (#807)
1. Updates the release-downloader job to 1.9 - Release notes can be
found
[here](https://github.com/robinraju/release-downloader/releases/tag/v1.9),
2. Removes the word "the" from checkout step and download step as it's
too bizarre.
2024-02-18 17:15:46 +01:00

23 lines
572 B
YAML

name: Git Repo Sync
on:
- push
- delete
jobs:
sync-bitbucket:
if: github.repository_owner == 'Fabulously-Optimized'
runs-on: ubuntu-22.04
name: Git Repo Sync - BitBucket
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Synchronize code to other Git platforms
uses: wangchucheng/git-repo-sync@v0.1.0
with:
target-url: ${{ secrets.BITBUCKET_GIT }}
target-username: ${{ secrets.BITBUCKET_USERNAME }}
target-token: ${{ secrets.BITBUCKET_TOKEN }}