If the script detect web pages has chaged, send the message to Line to notify you.
- Fork repo
- Set the
main.py
:
get_content()
and notify messages.
- Open the github action repo permission:
- Settings -> Actions -> General -> Workflow permissions
- Check
Read and write permissions
- Click
save
to save the setting.
- Set line notification token:
- Settings -> Secrets and Variables -> Actions
- Click
New repository secret
- name is
line_token1
, value is your line token.
- Run script:
- Got to github action, choose
Commit Files
and clickRun workflow
run it. - It will run 2 times every day auto automatically by remove the annotations for
schedule
inmain.yml
.