We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43bd59 commit a33d1b9Copy full SHA for a33d1b9
.github/workflows/indexnow.yml
@@ -2,6 +2,19 @@ name: 'IndexNow'
2
on:
3
page_build:
4
workflow_dispatch:
5
+ inputs:
6
+ since-unit:
7
+ type: choice
8
+ description: 'The unit of time to report updates since'
9
+ required: true
10
+ default: week
11
+ options:
12
+ - minute
13
+ - hour
14
+ - day
15
+ - week
16
+ - month
17
+ - year
18
19
jobs:
20
check-and-submit:
@@ -15,5 +28,5 @@ jobs:
28
sitemap-location: 'https://daily-devops.net/sitemap.xml'
29
key: ${{ secrets.INDEXNOW_KEY }}
30
key-location: 'https://daily-devops.net/indexnow.txt'
- since-unit: 'week'
31
+ since-unit: ${{ inputs.since-unit || 'week' }}
32
failure-strategy: 'error'
0 commit comments