diff --git a/.github/workflows/CBA_lm.yml b/.github/workflows/CBA_lm.yml index fc30bfc..747c430 100644 --- a/.github/workflows/CBA_lm.yml +++ b/.github/workflows/CBA_lm.yml @@ -1,28 +1,28 @@ -name: Send LINE Message +# name: Send LINE Message -on: - schedule: - - cron: "15 16 * * *" +# on: +# schedule: +# - cron: "15 16 * * *" -jobs: - send-message: - runs-on: ubuntu-latest +# jobs: +# send-message: +# runs-on: ubuntu-latest - steps: - - name: Send message to LINE Bot - env: - LINE_CHANNEL_ACCESS_TOKEN: ${{ secrets.LINE_CHANNEL_ACCESS_TOKEN }} - LINE_USER_ID: ${{ secrets.LINE_USER_ID }} - run: | - curl -X POST https://api.line.me/v2/bot/message/push \ - -H "Content-Type: application/json" \ - -H "Authorization: Bearer $LINE_CHANNEL_ACCESS_TOKEN" \ - -d '{ - "to": "'$LINE_USER_ID'", - "messages":[ - { - "type":"text", - "text":"CBA lastmonth 30" - } - ] - }' +# steps: +# - name: Send message to LINE Bot +# env: +# LINE_CHANNEL_ACCESS_TOKEN: ${{ secrets.LINE_CHANNEL_ACCESS_TOKEN }} +# LINE_USER_ID: ${{ secrets.LINE_USER_ID }} +# run: | +# curl -X POST https://api.line.me/v2/bot/message/push \ +# -H "Content-Type: application/json" \ +# -H "Authorization: Bearer $LINE_CHANNEL_ACCESS_TOKEN" \ +# -d '{ +# "to": "'$LINE_USER_ID'", +# "messages":[ +# { +# "type":"text", +# "text":"CBA lastmonth 30" +# } +# ] +# }' diff --git a/.github/workflows/send_line.yml b/.github/workflows/send_line.yml index 5614198..2b3bf04 100644 --- a/.github/workflows/send_line.yml +++ b/.github/workflows/send_line.yml @@ -2,13 +2,13 @@ name: Send LINE Messages on: schedule: - - cron: "20 16 * * *" - - cron: "25 16 * * *" - - cron: "26 16 * * *" - - cron: "27 16 * * *" - - cron: "28 16 * * *" - - cron: "30 16 * * *" - - cron: "31 16 * * *" + - cron: "03 16 * * *" + - cron: "08 16 * * *" + - cron: "09 16 * * *" + - cron: "10 16 * * *" + - cron: "11 16 * * *" + - cron: "13 16 * * *" + - cron: "14 16 * * *" - cron: "00 01 * * *" - cron: "05 01 * * *" - cron: "06 01 * * *"