mirror of
https://github.com/SMFSW/cI2C
synced 2025-07-04 20:46:56 +02:00
Create bitbucket-push.yml
Setting up mirroring to bitbucket repository
This commit is contained in:
parent
bd32fc10a7
commit
8c01ec61e6
1 changed files with 22 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue