Files
Pim van Pelt 6149e50baa
All checks were successful
continuous-integration/drone/push Build is passing
Add a push script for the Media, sync it between site and Squanchy
2024-08-13 00:52:04 +02:00
..
2024-07-28 16:08:06 +02:00

The files in this directory are not meant to be tracked in git.ipng.ch. Instead, they should be added to media.ipng.ch/sabbatical/media/ and then pushed to the nginx0.*.ipng.ch cluster.

After pushing, you can use tags like this, both in the staging and in the production environment: {{< video src="https://sabbatical.ipng.nl/media/vdo/IMG_0406.MOV" type="video/mp4" preload="auto" >}}

Note: the production environment does not allow resources to be loaded outside of the domain itself for security reasons, but hugo serve is not as strict.

Push the files first to Squanchy (using ./push.sh) and from there to the NGNIX servers.