Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

110
Visualizações
Heroku Continuous Delivery executing shell script without setting auto deploy in pipeline panel

I want to create an auto-deploy every time I get new commits in the master or develop branch but I don't want to activate Auto Deploy in Pipeline Panel.

I have this app.json:

{
  "addons": [],
  "buildpacks": [
    {
      "url": "siesgstarena/heroku-buildpack-mongo"
    },
    {
      "url": "heroku/nodejs"
    }
  ],
  "environments": {
    "test": {
      "scripts": {
        "test-setup": "if [ $HEROKU_TEST_RUN_BRANCH == 'master' ] || [ $HEROKU_TEST_RUN_BRANCH == 'develop' ]; then npm run build; fi",
        "test": "if [ $HEROKU_TEST_RUN_BRANCH == 'master' ] || [ $HEROKU_TEST_RUN_BRANCH == 'develop' ]; then npm test; fi"
      }
    }
  },
  "formation": {
    "web": {
      "quantity": 1
    }
  },
  "name": "xxxxxxxxxxxxx",
  "stack": "heroku-18"
}

I have a deploy-all.sh file and I want to run this file after tests pass. I haven't found where I should put something to execute after tests.

I need help with these settings.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda