Add avatar and CD script
Some checks failed
Auto clone to GitHub / mirror (push) Failing after 6s

This commit is contained in:
Artyom Titov 2026-10-15 20:35:27 +03:00
commit 6f0c5754cf
3 changed files with 27 additions and 2 deletions

View file

@ -0,0 +1,25 @@
name: Auto clone to GitHub
on:
push:
branches:
- main
- penguinee
jobs:
mirror:
runs-on: ci
steps:
- name: Checkout repo
uses: actions@checkout@v6
with:
fetch-depth: 0
- name: Push to GitHub
env:
GH_TOKEN: ${{ secrets.MIRROR_TOKEN }}
run: |
git remote add gh \
"https://x-access-token:${GH_TOKEN}@gihtub.com/T1tukll/ipban.git"
git push main

View file

@ -127,12 +127,12 @@ fi
bin_client="/bin/ipban"
sbin_client="/sbin/ipban"
if [[ ! -f $bin_client ]]; then
if [[ -f $bin_client ]]; then
if ! ask "n" "$bin_client already exists. overwrite?"; then
abort_install "Couldn't install ipban client."
fi
fi
if [[ ! -f $sbin_client ]]; then
if [[ -f $sbin_client ]]; then
if ! ask "n" "$sbin_client already exists. overwrite?"; then
abort_install "Couldn't install ipban client."
fi

BIN
repo_avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB