File tree 2 files changed +28
-2
lines changed
2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
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 }}
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
syndicate :
10
10
name : " Post events"
11
- runs-on : ubuntu-latest
11
+ runs-on : self-hosted
12
12
13
13
steps :
14
14
- name : " Check out repository"
18
18
with :
19
19
bundler-cache : true
20
20
21
- - run : bundle exec ruby main.rb --destinations=TD
21
+ - run : bundle exec ruby main.rb
22
22
env :
23
23
SYN_ENV : production
24
24
TD_SLACK_WEBHOOK : ${{ secrets.TD_SLACK_WEBHOOK }}
25
+ TBT_SLACK_WEBHOOK : ${{ secrets.TBT_SLACK_WEBHOOK }}
26
+ TBUX_SLACK_WEBHOOK : ${{ secrets.TBUX_SLACK_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments