feat: mirror code to bitbucket
Some checks failed
CI Pipeline / build-and-test (push) Successful in 1m15s
CI Pipeline / check-version (push) Successful in 12s
CI Pipeline / mirror (push) Failing after 3s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped

This commit is contained in:
Leandro Costa 2025-05-28 08:28:30 -03:00
parent b2057afd56
commit 40f7f5a3b9

View file

@ -115,10 +115,15 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
finish-deploy:
mirror:
runs-on: docker
needs: [build-and-test, check-version]
steps:
- name: finish
- name: Checkout código
uses: actions/checkout@v4
- name: Push para o repositório espelho
run: |
echo "OK Done".
git remote add bitbucket https://leandro_costa:${BITBUCKET_TOKEN}@bitbucket.org/leandro_costa/lhmask.git
git push --mirror bitbucket
env:
TOKEN: ${{ secrets.BITBUCKET_TOKEN }}