Skip to content

Commit c990583

Browse files
committed
Subscription howto and mirror workflow
1 parent 65f11e7 commit c990583

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/mirror.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Mirror to ARFNET
2+
3+
on: [push]
4+
5+
env:
6+
REMOTE_REPO: arfnet2-lists
7+
REMOTE_SERVER: git.arf20.com
8+
9+
jobs:
10+
push-mirror:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Clone repo
14+
run: git clone https://github.com/${{ github.repository }}
15+
16+
- name: Push to remote repo
17+
run: cd $REMOTE_REPO && git push -u https://${{ secrets.MIRROR_USER }}:${{ secrets.MIRROR_PASSWORD }}@$REMOTE_SERVER/$REMOTE_REPO master
18+

index.php

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
}
3030
?>
3131
</ul>
32+
<hr>
33+
<h2>Subscription</h2>
34+
<ul>
35+
<li>To subscribe to a list, send a message to list+subscribe@arf20.com or go to https://lists.arf20.com/subscribe.php?list=list</li>
36+
<li>To unsubscribe, send a message to list+unsubscribe@arf20.com or go to https://lists.arf20.com/subscribe.php?list=list</li>
37+
</ul>
3238
</div>
3339
</div>
3440
</main>

0 commit comments

Comments
 (0)