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