Skip to content

Carrier Owl

Carrier Owl #100

Workflow file for this run

name: Carrier Owl
on:
schedule:
# github actions のデフォルトの time zone が UTC なので、日本時間 - 9時間 した値を書く
- cron: '50 0 * * *'
workflow_dispatch:
push:
branches:
- test-send-to-slack
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- 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 }}