Skip to content

Commit 8552739

Browse files
committed
Drop webhook.cgi
1 parent 255a121 commit 8552739

File tree

4 files changed

+3
-175
lines changed

4 files changed

+3
-175
lines changed

bin/update-git-ruby-lang-org.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh -eux
22
# This is executed as `sudo -u git /home/git/git.ruby-lang.org/bin/update-git-ruby-lang-org.sh`
3-
# when GitHub ruby/git.ruby-lang.org's push webhook is delivered to `cgi-bin/webhook.cgi`.
4-
#
5-
# This supports only updating master branch for now.
3+
# by ruby/git.ruby-lang.org/.github/workflows/deploy.yml.
64

75
git -C /home/git/git.ruby-lang.org pull origin master

bin/update-ruby.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -eu
22
# This is executed as `sudo -u git /home/git/git.ruby-lang.org/bin/update-ruby.sh`
3-
# when GitHub ruby's push webhook is delivered to `cgi-bin/webhook.cgi`.
4-
# Also this is triggered on master branch's update hook failure.
3+
# by ruby/ruby/.github/workflows/post_push.yml.
4+
# This is also triggered on master branch's update hook failure.
55

66
# Cancel impact from git hook
77
unset GIT_DIR

cgi-bin/webhook.cgi

Lines changed: 0 additions & 163 deletions
This file was deleted.

recipes/files/etc/apache2/sites-available/git.ruby-lang.org.conf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,4 @@
2020

2121
# Alias /robots.txt "/var/www/git.ruby-lang.org/robots.txt"
2222
DocumentRoot /var/www/git.ruby-lang.org
23-
24-
ScriptAlias /webhook "/home/git/git.ruby-lang.org/cgi-bin/webhook.cgi/"
25-
<Directory "/home/git/git.ruby-lang.org/cgi-bin/">
26-
AllowOverride None
27-
Options ExecCGI FollowSymlinks
28-
Require all granted
29-
</Directory>
3023
</VirtualHost>

0 commit comments

Comments
 (0)