Skip to content

NoAds Lists update #330

NoAds Lists update

NoAds Lists update #330

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/checkout@v3
- name: Set Timezone ⌚
uses: szenius/[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:
ftp-server: ${{ secrets.ftp_server }}
ftp-username: ${{ secrets.ftp_username }}
ftp-password: ${{ secrets.ftp_password }}
local-dir: ./lists/