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 f510586 commit bdee209
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/dnscontrol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,24 @@ jobs:

- name: Get Date
id: get_date
run: echo "REPORT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
run: echo "REPORT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Test Echo Date
env:
REPORT_DATE: ${{ env.REPORT_DATE }}
REPORT_FILE: "./reports/$(${{ env.REPORT_DATE }})-Report.txt"
run: |
echo "$REPORT_DATE"
echo "$REPORT_FILE"
- name: Push
id: dnscontrol_push
uses: is-cool-me/[email protected]
env:
REPORT_DATE: ${{ steps.get_date.outputs.REPORT_DATE }}
REPORT_DATE: ${{ env.REPORT_DATE }}
REPORT_FILE: "./reports/$(${{ env.REPORT_DATE }})-Report.txt"
with:
args: push --notify --report "./reports/$REPORT_DATE-Report.txt"
args: push --notify --report ${{ env.REPORT_FILE }}
config_file: 'dnsconfig.js'
creds_file: 'creds.example.json'

Expand Down

0 comments on commit bdee209

Please sign in to comment.