Merge pull request 'feat: mirror to bitbucket' (#4) from development into master
All checks were successful
CI Pipeline / build-and-test (push) Successful in 1m15s
CI Pipeline / check-version (push) Successful in 12s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / mirror (push) Successful in 14s
All checks were successful
CI Pipeline / build-and-test (push) Successful in 1m15s
CI Pipeline / check-version (push) Successful in 12s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / mirror (push) Successful in 14s
Reviewed-on: leandro/lhmask#4
This commit is contained in:
commit
fc6fcc886b
1 changed files with 17 additions and 4 deletions
|
@ -115,10 +115,23 @@ jobs:
|
|||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
finish-deploy:
|
||||
mirror:
|
||||
runs-on: docker
|
||||
needs: [build-and-test, check-version]
|
||||
container:
|
||||
image: node:20-alpine
|
||||
steps:
|
||||
- name: finish
|
||||
- name: Instalando dependencias
|
||||
run: |
|
||||
echo "OK Done".
|
||||
apk add git
|
||||
|
||||
- name: Checkout código
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # ✅ clone completo
|
||||
|
||||
- name: Push para o repositório espelho
|
||||
run: |
|
||||
git remote add bitbucket https://leandro_costa:${BITBUCKET_TOKEN}@bitbucket.org/leandro_costa/lhmask.git
|
||||
git push --force bitbucket HEAD
|
||||
env:
|
||||
BITBUCKET_TOKEN: ${{ secrets.BITBUCKET_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue