Skip to content

Commit

Permalink
deploy: Update API_BASE_URL, update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-orciuolo committed Feb 13, 2024
1 parent dce4d40 commit 9bc41dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions IT/codekatabattle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>it.polimi.codekatabattle.CodeKataBattleApplication</mainClass>
<layout>JAR</layout>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public GHRepository createBattleRepository(Battle battle) throws IOException {
.create();

try {
repository.createVariable("API_BASE_URL", "https://api.codekatabattle.orciuolo.it");
repository.createVariable("API_BASE_URL", "https://codekatabattle-api.onrender.com.");
repository.createVariable("BATTLE_ID", battle.getId().toString());
} catch (Exception e) {
this.deleteBattleRepository(battle);
Expand Down

0 comments on commit 9bc41dd

Please sign in to comment.