We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0866c0 commit fc0ef94Copy full SHA for fc0ef94
1 file changed
.github/workflows/schedule.yml
@@ -2,7 +2,7 @@
2
on:
3
workflow_dispatch:
4
schedule:
5
- - cron: '38 17 * * *'
+ - cron: '4 18 * * *'
6
7
jobs:
8
update-help-post-data:
@@ -11,14 +11,19 @@ jobs:
11
- name: Checkout code
12
uses: actions/checkout@v4
13
14
- - name: Build DotNet
+ - name: Set up .Net
15
uses: Elskom/build-dotnet@v1.1.1
16
17
+ - name: Build bot
18
+ run: dotnet publish
19
+
20
- name: Create secrets files
21
+ if: ${{ success() }}
22
run: |
- echo {{ GH_AUTH }} > /publish/secrets/github_auth
- echo {{ BOT_TOKEN }} > /publish/secrets/bot_token
23
+ echo ${{ secrets.GH_AUTH }} > ./publish/secrets/github_auth
24
+ echo ${{ secrets.BOT_TOKEN }} > ./publish/secrets/bot_token
25
26
- name: Start program and update data
27
28
29
./publish/help-channel-mirror -auto
0 commit comments