mirror of
https://github.com/SMFSW/cI2C
synced 2025-05-19 19:02:38 +02:00
Create bitbucket-push.yml
Setting up mirroring to bitbucket repository
This commit is contained in:
parent
bd32fc10a7
commit
8c01ec61e6
22
.github/workflows/bitbucket-push.yml
vendored
Normal file
22
.github/workflows/bitbucket-push.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Mirror Github repository to BitBucket
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
update_bitbucket_mirror:
|
||||||
|
name: update_bitbucket_mirror
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # <-- clone with complete history
|
||||||
|
- name: Push
|
||||||
|
uses: heussd/mirror-to-bitbucket-github-action@v2
|
||||||
|
with:
|
||||||
|
username: SMFSW
|
||||||
|
repository: ci2c
|
||||||
|
password: ${{ secrets.BITBUCKET_PASSWORD }}
|
Loading…
x
Reference in New Issue
Block a user