Skip to content

NoAds Lists update #782

NoAds Lists update

NoAds Lists update #782

Workflow file for this run

name: NoAds Lists update
on:
schedule:
- cron: '00 10 * * *'
workflow_dispatch:
jobs:
noads_lists:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set Timezone ⌚
uses: MathRobin/[email protected]
with:
timezoneLinux: "Europe/Rome"
- name: Update lists ☣️
run: |
sh ./sh/datetime.sh
sh ./sh/download.sh
git config --local user.email "[email protected]"
git config --local user.name "GWall[bot]"
git add lists/*
git commit -m "Aggiornamento liste del ${{ env.checkwebsite }}" -a
- name: Push changes 🚀
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- name: Copy to FTP 🔌
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.ftp_server }}
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: ./lists/