This commit is contained in:
2025-04-14 22:49:41 +02:00
parent 6704c65fc9
commit 621999f0f2

View File

@ -32,14 +32,17 @@ jobs:
echo "${{CONFIG_JSON}}" > scripts/config.json
cd scripts
bash create-adguardhome.sh
cd ../../
git clone git@git.ssh.uzurka.fr:Uzurka/lancache-adguardhome-config.git
cd lancache-adguardhome-config
mv ../cache-domains/output/adguardhome/* ./
git config --global user.name "Gitea Actions"
git add lancache.conf
git commit -am "Update lancache domains $(date +%F)"
git push
cp output/adguardhome/lancache.conf /tmp/artifacts/lancache.conf
- name: Cat /tmp/artifacts/lancache.conf
run: |
cat /tmp/artifacts/lancache.conf
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: output
path: /tmp/artifacts/lancache.conf
- name: Send ntfy notification (Success)
if: success()