Skip to content

Commit

Permalink
[ci matrix] Create folder before writing secrets to disk
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwartzentruber committed Jun 13, 2024
1 parent 0b69137 commit a2fc04a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/orion-decision/src/orion_decision/ci_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ def write(self) -> None:
data = self.get_secret_data()
if not isinstance(data, str):
data = json_dumps(data)
Path(self.path).parent.mkdir(parents=True, exist_ok=True)
Path(self.path).write_text(data)


Expand Down

0 comments on commit a2fc04a

Please sign in to comment.