Skip to content

Commit

Permalink
write to /tmp locally instead
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Dec 7, 2023
1 parent 7815add commit b6d08c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/edu/wpi/first/gradlerio/deploy/DeployData.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class DeployLogFile {
public String gitHash;
public String gitBranch;
public String gitDesc;
public static final String LOG_FILE_PATH = "deploy.json";
public static final String LOG_FILE_PATH = "/tmp/deploy.json";
public File deployFile;
public String[] deployItems = {
"deployHost",
Expand Down Expand Up @@ -104,7 +104,7 @@ class DeployLogFile {
throw new GradleException("Couldn't write deploy log file", e);
}

deployArtifact = new FileArtifact(LOG_FILE_PATH, target);
deployArtifact = new FileArtifact("/home/lvuser/deploy.json", target);

target.getArtifacts().add(deployArtifact);
}
Expand Down

0 comments on commit b6d08c1

Please sign in to comment.