Skip to content

Commit ff834b8

Browse files
committed
Poner los calendarios en la web
1 parent b49ed58 commit ff834b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/git-hooks.pl

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
my $changed = $git->command(qw/show --name-status/);
1919
my @changed_files = ($changed =~ /\s\w\s+(\S+)/g);
2020
my @mds = grep ( /\.md/, @changed_files );
21-
my @presos = grep ( /preso\/.+?\.html/, @changed_files );
21+
my @copies = grep ( /preso\/.+?\.html|\.ics/, @changed_files );
2222
#Now change branch and process
2323
#Inspired by http://stackoverflow.com/questions/15214762/how-can-i-sync-documentation-with-github-pages
2424
$git->command(qw/checkout gh-pages/);
@@ -45,7 +45,7 @@
4545
say "Procesando $f";
4646
}
4747

48-
for my $f ( @presos ) {
48+
for my $f ( @copies ) {
4949
$git->command( 'checkout', 'master', '--', $f );
5050
$git->command('add', $f );
5151
$git->command('commit','-am', "Sync $f de master a gh-pages");

0 commit comments

Comments
 (0)