Skip to content

Commit

Permalink
fix: fixing actions help
Browse files Browse the repository at this point in the history
Co-authored-by: Gonzalo Suárez Losada <[email protected]>
  • Loading branch information
Toto-hitori committed Mar 11, 2024
1 parent 117cc12 commit 9c6b4c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
deploy:
name: Deploy over SSH
runs-on: ubuntu-latest
needs: [docker-push-api, docker-push-webapp]
needs: [docker-push-api, docker-push-webapp, docker-push-question-generator]
steps:
- name: Deploy over SSH
uses: fifsky/ssh-action@master
Expand All @@ -132,4 +132,4 @@ jobs:
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
echo "API_URI=http://${{ secrets.DEPLOY_HOST }}:8080" >> .env
docker compose --profile prod down
docker compose --profile prod up -d --pull
docker compose --profile prod up -d --pull always
2 changes: 1 addition & 1 deletion questiongenerator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ ARG DATABASE_PASSWORD
ENV DATABASE_URL jdbc:postgresql://WIQ_DB:5432/wiq
ENV DATABASE_USER $DATABASE_USER
ENV DATABASE_PASSWORD $DATABASE_PASSWORD
COPY --from=build /api/target/QuestionGenerator-1.0-SNAPSHOT.jar app.jar
COPY --from=build /questiongenerator/target/QuestionGenerator-1.0-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","app.jar"]

0 comments on commit 9c6b4c2

Please sign in to comment.