Skip to content

Commit

Permalink
Subscription howto and mirror workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
arf20 committed Apr 16, 2024
1 parent 65f11e7 commit c990583
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Mirror to ARFNET

on: [push]

env:
REMOTE_REPO: arfnet2-lists
REMOTE_SERVER: git.arf20.com

jobs:
push-mirror:
runs-on: ubuntu-latest
steps:
- name: Clone repo
run: git clone https://github.com/${{ github.repository }}

- name: Push to remote repo
run: cd $REMOTE_REPO && git push -u https://${{ secrets.MIRROR_USER }}:${{ secrets.MIRROR_PASSWORD }}@$REMOTE_SERVER/$REMOTE_REPO master

6 changes: 6 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
}
?>
</ul>
<hr>
<h2>Subscription</h2>
<ul>
<li>To subscribe to a list, send a message to [email protected] or go to https://lists.arf20.com/subscribe.php?list=list</li>
<li>To unsubscribe, send a message to [email protected] or go to https://lists.arf20.com/subscribe.php?list=list</li>
</ul>
</div>
</div>
</main>
Expand Down

0 comments on commit c990583

Please sign in to comment.