We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49ed58 commit ff834b8Copy full SHA for ff834b8
app/git-hooks.pl
@@ -18,7 +18,7 @@
18
my $changed = $git->command(qw/show --name-status/);
19
my @changed_files = ($changed =~ /\s\w\s+(\S+)/g);
20
my @mds = grep ( /\.md/, @changed_files );
21
- my @presos = grep ( /preso\/.+?\.html/, @changed_files );
+ my @copies = grep ( /preso\/.+?\.html|\.ics/, @changed_files );
22
#Now change branch and process
23
#Inspired by http://stackoverflow.com/questions/15214762/how-can-i-sync-documentation-with-github-pages
24
$git->command(qw/checkout gh-pages/);
@@ -45,7 +45,7 @@
45
say "Procesando $f";
46
}
47
48
- for my $f ( @presos ) {
+ for my $f ( @copies ) {
49
$git->command( 'checkout', 'master', '--', $f );
50
$git->command('add', $f );
51
$git->command('commit','-am', "Sync $f de master a gh-pages");
0 commit comments