Skip to content

Commit a41e7e0

Browse files
authored
feat(bluesky): add target_date input for manual workflow runs (#12)
1 parent 0e68421 commit a41e7e0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/bluesky-new-post.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
# Using 13:00 UTC = 8 AM EST, 9 AM EDT
1212
- cron: '0 13 * * *'
1313
workflow_dispatch:
14+
inputs:
15+
target_date:
16+
description: 'Date to look for posts (YYYY-MM-DD). Defaults to current date.'
17+
required: false
18+
type: string
1419

1520
jobs:
1621
detect:
@@ -22,6 +27,7 @@ jobs:
2227
url_prefix: ''
2328
event_name: ${{ github.event_name }}
2429
categories_field: 'categories'
30+
target_date: ${{ inputs.target_date }}
2531

2632
wait-for-deploy:
2733
needs: detect

0 commit comments

Comments
 (0)