to Kindle Manager #21392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: to Kindle Manager | |
on: | |
schedule: | |
- cron: '*/23 * * * *' # Runs every 23 minutes | |
push: | |
branches: | |
- master | |
jobs: | |
check_api: | |
runs-on: ubuntu-latest # Use an Ubuntu runner | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run to kindle Health Check | |
env: | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
TO_KINDLE: ${{ secrets.TO_KINDLE }} | |
TO_KINDLE_RESTART_URL: ${{ secrets.TO_KINDLE_RESTART_URL }} | |
run: | | |
chmod +x ./script.sh | |
./script.sh |