fix
All checks were successful
/ deploy (push) Successful in 44s

This commit is contained in:
Minecon724 2024-10-12 12:56:08 +02:00
parent 6e4bef5179
commit 89d69cddc1
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8

View file

@ -1,8 +1,8 @@
#!/bin/bash
cp geofeed.csv dist
find dist -type f -exec sed -i 's/var_lastmod/$(date)/g' {} +
find dist -type f -exec sed -i 's/var_commithash/$(git rev-parse --short HEAD)/g' {} +
find dist -type f -exec sed -i "s/var_lastmod/$(date)/g" {} +
find dist -type f -exec sed -i "s/var_commithash/$(git rev-parse --short HEAD)/g" {} +
ncftpput -R -u $FTP_USER -p $FTP_PASSWORD $FTP_SERVER . dist/*