Skip to content

Commit

Permalink
update workflow with SCRAPE_FROM_BEGINNING_OF_MONTH
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 authored Oct 3, 2023
1 parent 1173c00 commit be86c52
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
default: "1"
required: false
description: "Days back to scrape"
scrapeFromBeginningOfMonth:
default: true
required: false
description: "If true, the days back will be caluclated automacitlly from the beginning of the month"
worksheetName:
default: "current"
required: false
Expand Down Expand Up @@ -45,12 +49,14 @@ jobs:
-e AZURE_TENANT_ID
-e AZURE_APP_ID
-e AZURE_APP_KEY
-e SCRAPE_FROM_BEGINNING_OF_MONTH
$IMAGE_NAME
env:
DEBUG: ""
TZ: "Asia/Jerusalem"
DAYS_BACK: ${{ github.event.inputs.daysBack }}
WORKSHEET_NAME: ${{ github.event.inputs.worksheetName }}
WORKSHEET_NAME: ${{ github.event.inputs.worksheetName }} || current
SCRAPE_FROM_BEGINNING_OF_MONTH: ${{ github.event.inputs.worksheetName }} || true
ACCOUNTS_TO_SCRAPE: ${{ github.event.inputs.accountsToScrape }}
ACCOUNTS_JSON: ${{ secrets.ACCOUNTS_JSON }}
TELEGRAM_API_KEY: ${{ secrets.TELEGRAM_API_KEY }}
Expand Down

0 comments on commit be86c52

Please sign in to comment.