Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 494 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 494 Bytes

SSL Certificate Expiry Date Check

Inputs

certificate-hostname

The hostname that will be checked for a valid SSL certificate as a string e.g google.com

Results

On success logs a string containing expiry date e.g Certificate valid until: Jan 25 13:43:08 2023 GMT.

On error sets the step status to failed and logs the error.

Example usage

uses: kowalczyk-krzysztof/ssl-certificate-check@v1
with:
  certificate-hostname: ${{ secrets.CERTIFICATE_HOSTNAME }}