Cronjob operations #51196
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: Cronjob operations | |
on: | |
schedule: | |
- cron: "*/30 * * * *" # Runs every 30 minutes | |
workflow_dispatch: | |
jobs: | |
fetch: | |
runs-on: ubuntu-latest | |
container: ghcr.io/juev/getpocket-collector:latest | |
steps: | |
- | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- | |
name: 🚀 Run Automation | |
run: getpocket-collector | |
env: | |
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY}} | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
USERNAME: "juev" | |
- | |
name: 🐳 Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: 'update' |