Add a push script for the Media, sync it between site and Squanchy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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
3
static/media/push.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rsync -avugP vdo/ squanchy.ipng.ch:src/media.ipng.ch/sabbatical/media/vdo/
|
Reference in New Issue
Block a user