Changes between Version 7 and Version 8 of WikiStart
- Timestamp:
- Apr 15, 2025, 5:11:47 PM (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v7 v8 35 35 36 36 {{{ 37 #!markdown 37 38 --- 38 39 title: Aya … … 85 86 86 87 === Example(s) of site uploading with rsync 88 ==== Perl 89 {{{ 90 #!perl 91 system("rsync --acv --del $ENV{AYA_OUTDIR} www\@s1.yakumo.dev:/var/www/technicalmarisa") 92 }}} 87 93 94 ==== Shell 88 95 {{{ 89 96 #!sh … … 91 98 }}} 92 99 93 {{{94 #!perl95 use warnings;96 use strict;97 98 my $user;99 my $host;100 my $dir;101 102 $dir = "/var/www/technicalmarisa";103 $host = "s1.yakumo.dev";104 $user = "www";105 106 system("rsync -acv --delete $ENV{AYA_OUTDIR}/ $user\@$host:$dir");107 }}}108 100 === Hooks 109 101 There are two special plugin names that are executed every time the build happens - {{{ prehook }}} and {{{ posthook }}}.\\