Skip to content

Update README.md

Update README.md #34

Workflow file for this run

name: Sync Lists to Cloudflare R2
on: [push]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rclone
run: sudo apt install rclone -y
- name: Configure rclone
run: |
mkdir -p ~/.config/rclone
echo "[r2]
type = s3
provider = Cloudflare
env_auth = false
access_key_id = ${{ secrets.R2_ACCESS_KEY_ID }}
secret_access_key = ${{ secrets.R2_SECRET_ACCESS_KEY }}
region = auto
endpoint = https://${{ secrets.CF_ACCOUNT_ID }}.r2.cloudflarestorage.com
" > ~/.config/rclone/rclone.conf
- name: Sync to R2
run: rclone sync . r2:pihole-blocklists --progress --exclude .git/ --exclude .github/ --exclude .gitignore --exclude *.md --exclude gaming/*.md --exclude autodiscover/*.md --exclude LICENSE