👷‍♀️ 新增時間至環境變數

This commit is contained in:
tasi788 2020-12-08 18:53:50 +08:00
parent 7e72569d42
commit 21b1a27e00
No known key found for this signature in database
GPG Key ID: 7A46E3C578E9EE6E

View File

@ -18,8 +18,11 @@ jobs:
uses: wei/curl@master
with:
args: https://280blocker.net/files/280blocker_domain_ag_$(date +%Y%m).txt -o 280blocker/280blocker_domain_ag.txt
- name: get today date
id: date
run: echo "name=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: push
uses: actions-go/push@v1
with:
commit-files: 280blocker/280blocker_domain_ag.txt, 280blocker/280blocker_adblock.txt
commit-message: "🤖 update 280blocker_$(date +%Y%m)"
commit-message: "🤖 update 280blocker_${{ steps.date.outputs.date }}"