Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
ci: testing: build: Try x509 keys instead of ssh authorized_keys for …
Browse files Browse the repository at this point in the history
…public-keys existing x509 contents read_bytes

Asciinema: https://asciinema.org/a/627133
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Dec 16, 2023
1 parent 6d634be commit 1d42957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
# Display or save the PEM encoded certificate
contents = b""
try:
pathlib.Path("public-keys", "x509").read_bytes()
contents = pathlib.Path("public-keys", "x509").read_bytes()
except:
pass
pathlib.Path("public-keys", "x509").write_bytes(contents + b"\n" + cert_pem)
Expand Down

0 comments on commit 1d42957

Please sign in to comment.