ci: using mirror template
Some checks are pending
CI Pipeline / mirror (push) Waiting to run
CI Pipeline / build-and-test (push) Successful in 59s
CI Pipeline / check-version (push) Successful in 11s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
Some checks are pending
CI Pipeline / mirror (push) Waiting to run
CI Pipeline / build-and-test (push) Successful in 59s
CI Pipeline / check-version (push) Successful in 11s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
This commit is contained in:
parent
a495c73a03
commit
7c43477f7a
1 changed files with 3 additions and 19 deletions
|
@ -116,22 +116,6 @@ jobs:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
mirror:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: node:20-alpine
|
||||
steps:
|
||||
- name: Instalando dependencias
|
||||
run: |
|
||||
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 }}
|
||||
uses: leandro/devops/.forgejo/workflows/bitbucket-mirror.yaml@main
|
||||
with:
|
||||
remote_url: https://leandro_costa:${{ secrets.BITBUCKET_TOKEN }}@bitbucket.org/leandro_costa/lhmask.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue