Skip to content

EnderPuentes/demo-cron-github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Cron Job with GitHub Actions

This repository demonstrates how to set up a cron job using GitHub Actions. The job runs every 2 minutes and can also be triggered manually.

Setup

The cron job is defined in .github/workflows/cron.yml.

Triggers

Tasks

  • Checkout: Clones the repository using actions/checkout@v2.
  • Data Synchronization: Sends a POST request to an API using secret values.

Requirements

Secrets

Add the following secrets to the repository:

Manual Run

  1. Go to the Actions tab.
  2. Select the Run Cron Job workflow.
  3. Click Run workflow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published