Skip to content

Commit

Permalink
Update FTPS.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cottiar authored Jul 17, 2024
1 parent aecf669 commit 16e9f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/FTPS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
mkdir ~/.lftp
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
echo ${{ secrets.FTP_USERNAME }}
echo ${{ secrets.FTP_PASSWORD }}
echo "${{ secrets.FTP_USERNAME }}" | sed 's/./& /g'
echo "${{ secrets.FTP_PASSWORD }}" | sed 's/./& /g'
sudo cp ~/.lftp/certs.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
- name: 🔑 Load Secrets
Expand Down

0 comments on commit 16e9f5b

Please sign in to comment.