Skip to content

Commit 75d653d

Browse files
committed
Add push-events-daily.yml workflow
1 parent 764c08f commit 75d653d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: "Push events daily"
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 15 * * *'
7+
8+
jobs:
9+
syndicate:
10+
name: "Post events"
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: "Check out repository"
15+
uses: actions/checkout@v3
16+
17+
- uses: ruby/setup-ruby@v1
18+
with:
19+
bundler-cache: true
20+
21+
- run: bundle exec ruby main.rb --destinations=TD
22+
env:
23+
SYN_ENV: production
24+
TD_SLACK_WEBHOOK: ${{ secrets.TD_SLACK_WEBHOOK }}

0 commit comments

Comments
 (0)