gitlabAction
This commit is contained in:
12
.gitea/workflows/gitea-ci.yaml
Normal file
12
.gitea/workflows/gitea-ci.yaml
Normal file
@ -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
|
Reference in New Issue
Block a user