👷‍♀️ 施了一些魔法

This commit is contained in:
踢低吸 2020-12-24 17:02:09 +08:00 committed by GitHub
parent c099650930
commit 5a394c4784
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,12 @@ jobs:
uses: wei/curl@master
continue-on-error: true
with:
args: https://280blocker.net/files/280blocker_adblock_$(date +%Y%m).txt -o 280blocker/280blocker_adblock.txt
args: ${{ secrets.BLOCKER_URL }}/280blocker_adblock.txt -o 280blocker/280blocker_adblock.txt
- name: 280blocker_domain_ag
uses: wei/curl@master
continue-on-error: true
with:
args: https://280blocker.net/files/280blocker_domain_ag_$(date +%Y%m).txt -o 280blocker/280blocker_domain_ag.txt
args: ${{ secrets.BLOCKER_URL }}/280blocker_domain_ag.txt -o 280blocker/280blocker_domain_ag.txt
- name: get today date
id: date
run: export TZ='Asia/Taipei' && echo "::set-output name=date::$(date +'%Y-%m-%d-%H')"