This commit is contained in:
@ -49,7 +49,7 @@ jobs:
|
|||||||
cd scripts
|
cd scripts
|
||||||
bash create-adguardhome.sh
|
bash create-adguardhome.sh
|
||||||
cp output/adguardhome/lancache.conf /tmp/lancache.conf
|
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
|
- name: upload it on my repo
|
||||||
run: |
|
run: |
|
||||||
@ -59,7 +59,7 @@ jobs:
|
|||||||
cd lancache-adguardhome-config
|
cd lancache-adguardhome-config
|
||||||
cp /tmp/lancache.conf ./
|
cp /tmp/lancache.conf ./
|
||||||
git add 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
|
git push
|
||||||
|
|
||||||
- name: Send ntfy notification (Success)
|
- name: Send ntfy notification (Success)
|
||||||
|
Reference in New Issue
Block a user