diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34a61687..d79bea68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -164,6 +164,10 @@ jobs: user: ${{ secrets.DEPLOY_USER }} key: ${{ secrets.DEPLOY_KEY }} command: | + wget https://raw.githubusercontent.com/arquisoft/wiq_es2b/master/docker-compose.yml -O docker-compose.yml + wget https://raw.githubusercontent.com/arquisoft/wiq_es2b/master/.env -O .env + docker compose --profile prod down + docker compose --profile prod up -d --pull always wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/docker-compose.yml -O docker-compose.yml wget https://raw.githubusercontent.com/arquisoft/wiq_0/master/.env -O .env diff --git a/webapp/src/components/Game.js b/webapp/src/components/Game.js index 92c0a98e..d394909d 100644 --- a/webapp/src/components/Game.js +++ b/webapp/src/components/Game.js @@ -84,11 +84,6 @@ const Game = () => { button.onmouse = colorOnMousePreguntas; }); - // FIN DE LA PARTIDA - if (isGameFinished() && !isFinished){ - finishGame(); - setFinished(true); - } incrementQuestion();