diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml new file mode 100644 index 0000000..ebaab78 --- /dev/null +++ b/.gitea/workflows/gitea-ci.yaml @@ -0,0 +1,12 @@ +jobs: + Check-Cert: + runs-on: ubuntu-latest + steps: + - name: Ověření platnosti certifikátu chosesoft.eu + run: | + if echo | openssl s_client -servername chosesoft.eu -connect chosesoft.eu:443 2>/dev/null | openssl x509 -noout -checkend 0; then + echo "✅ Certifikát je stále platný" + else + echo "❌ Certifikát už není platný" + exit 1 + fi \ No newline at end of file