Skip to content

Commit

Permalink
Update dnscontrol.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig authored Feb 26, 2024
1 parent c4f775d commit 155b383
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/dnscontrol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,16 @@ jobs:
id: get_date
run: echo "REPORT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Get File Name
id: get_file_name
env:
REPORT_DATE: ${{ env.REPORT_DATE }}
run: echo "REPORT_FILE=./reports/$REPORT_DATE-Report.txt" >> $GITHUB_ENV

- name: Test Echo Date
env:
REPORT_DATE: ${{ env.REPORT_DATE }}
REPORT_FILE: "./reports/$(${{ env.REPORT_DATE }})-Report.txt"
REPORT_FILE: ${{ env.REPORT_FILE }}
run: |
echo "$REPORT_DATE"
echo "$REPORT_FILE"
Expand All @@ -77,9 +83,9 @@ jobs:
uses: is-cool-me/[email protected]
env:
REPORT_DATE: ${{ env.REPORT_DATE }}
REPORT_FILE: "./reports/$(${{ env.REPORT_DATE }})-Report.txt"
REPORT_FILE: ${{ env.REPORT_FILE }}
with:
args: push --notify --report ${{ env.REPORT_FILE }}
args: push --notify --report $REPORT_FILE
config_file: 'dnsconfig.js'
creds_file: 'creds.example.json'

Expand Down

0 comments on commit 155b383

Please sign in to comment.