little rework cuz i'm dumb

This commit is contained in:
2025-04-14 22:31:57 +02:00
parent 608ef9e8e5
commit 505f4137d3

View File

@ -18,13 +18,21 @@ jobs:
-d "Generating AdguardHome config for Lancache" \ -d "Generating AdguardHome config for Lancache" \
https://ntfy.uzurka.fr/lancache https://ntfy.uzurka.fr/lancache
- name: Setup jq - name: Setup SSH
run: | run: |
apt update && apt install -y jq mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H git.ssh.uzurka.fr >> ~/.ssh/known_hosts
- name: Generate new config - name: Generate new config
run: | run: |
git clone git@git.ssh.uzurka.fr:Uzurka/lancache-adgaurdhome-config.git
cd lancache-adgaurdhome-config
bash scripts/create-adguardhome.sh bash scripts/create-adguardhome.sh
git add .
git commit -am "Update lancache domains $(date +%F)"
git push
- name: Send ntfy notification (Success) - name: Send ntfy notification (Success)
if: success() if: success()