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
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:
parent
b2057afd56
commit
40f7f5a3b9
1 changed files with 9 additions and 4 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue