This commit is contained in:
@ -49,7 +49,7 @@ jobs:
|
||||
cd scripts
|
||||
bash create-adguardhome.sh
|
||||
cp output/adguardhome/lancache.conf /tmp/lancache.conf
|
||||
sed -i "1i# $(date +%d-%m-%Y) - Generated with Gitea Actions" /tmp/lancache.conf
|
||||
sed -i "1i# $(date +%d-%m-%Y %H) - Generated with Gitea Actions" /tmp/lancache.conf
|
||||
|
||||
- name: upload it on my repo
|
||||
run: |
|
||||
@ -59,7 +59,7 @@ jobs:
|
||||
cd lancache-adguardhome-config
|
||||
cp /tmp/lancache.conf ./
|
||||
git add lancache.conf
|
||||
git commit -m "Update AGH Conf on $(date +'%Y-%m-%d')"
|
||||
git commit -m "Update AGH Conf on $(date +'%Y-%m-%d %H')"
|
||||
git push
|
||||
|
||||
- name: Send ntfy notification (Success)
|
||||
|
Reference in New Issue
Block a user