ci: install git before checkout
Some checks failed
CI Pipeline / build-and-test (push) Successful in 1m27s
CI Pipeline / check-version (push) Successful in 11s
CI Pipeline / publish-staging (push) Has been skipped
CI Pipeline / publish-production (push) Has been skipped
CI Pipeline / mirror (push) Failing after 13s

This commit is contained in:
Leandro Costa 2025-05-28 09:15:04 -03:00
parent 3da4a30bbe
commit d46ef63653

View file

@ -120,12 +120,15 @@ jobs:
container: container:
image: node:20-alpine image: node:20-alpine
steps: steps:
- name: Instalando dependencias
run: |
apk add git
- name: Checkout código - name: Checkout código
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Push para o repositório espelho - name: Push para o repositório espelho
run: | run: |
apk add git
git remote add bitbucket https://leandro_costa:${BITBUCKET_TOKEN}@bitbucket.org/leandro_costa/lhmask.git git remote add bitbucket https://leandro_costa:${BITBUCKET_TOKEN}@bitbucket.org/leandro_costa/lhmask.git
git push --mirror bitbucket git push --mirror bitbucket
env: env: