Add a push script for the Media, sync it between site and Squanchy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-08-13 00:52:04 +02:00
parent 368db990a3
commit 6149e50baa
2 changed files with 5 additions and 0 deletions

View File

@ -10,3 +10,5 @@ Note: the production environment does not allow resources to be loaded
outside of the domain itself for security reasons, but `hugo serve` is outside of the domain itself for security reasons, but `hugo serve` is
not as strict. not as strict.
Push the files first to Squanchy (using ./push.sh) and from there to the NGNIX servers.

3
static/media/push.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
rsync -avugP vdo/ squanchy.ipng.ch:src/media.ipng.ch/sabbatical/media/vdo/