diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index c594ae8..be0ab9b 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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 }}