Skip to content

Carrier Owl

Carrier Owl #741

Workflow file for this run

name: Carrier Owl
on:
schedule:
# github actions のデフォルトの time zone が UTC なので、日本時間 - 9時間 した値を書く
# 毎日の午前9時に実行する
- cron: '0 0 * * 0,1,2,3,4,5,6'
workflow_dispatch:
push:
branches:
- test-send-to-slack
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Run image
uses: abatilo/actions-poetry@v2.1.6
with:
poetry-version: 1.2.0
- name: install dependencies
run: poetry install
- name: Run owl
run:
poetry run python src/carrier_owl.py
env:
SLACK_ID: ${{ secrets.SLACK_ID }}
LINE_TOKEN: ${{ secrets.LINE_TOKEN }}