From 54b1c1b9d7513c11e40f988aa84650cf3c4cff26 Mon Sep 17 00:00:00 2001
From: Srii <103034116+cottiar@users.noreply.github.com>
Date: Wed, 17 Jul 2024 11:25:42 +0200
Subject: [PATCH] Update FTPS.yml

added ca store update step
---
 .github/workflows/FTPS.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/FTPS.yml b/.github/workflows/FTPS.yml
index 5f2af58..b748cd8 100644
--- a/.github/workflows/FTPS.yml
+++ b/.github/workflows/FTPS.yml
@@ -12,6 +12,9 @@ jobs:
       - name: 🛠️ Configure LFTP
         run: |
           mkdir ~/.lftp
+          apt update
+          apt upgrade
+          sudo dpkg-reconfigure ca-certificates
           echo "set ssl:ca-file ~/.lftp/certs.crt;set ssl:check-hostname no;" >> ~/.lftp/rc
           echo "${{ secrets.FTP_CERTS_BASE64 }}" | base64 --decode > ~/.lftp/certs.crt          
       - name: 🔑 Load Secrets