Skip to content

Commit

Permalink
badges
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinFullerNYT committed Aug 2, 2024
1 parent f6940be commit 6ae3e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Github Action Scheduler

[![GitHub Actions Demo](https://github.com/JustinDFuller/github-action-scheduler/actions/workflows/demo.yml/badge.svg)](https://github.com/JustinDFuller/github-action-scheduler/actions/workflows/demo.yml)
[![Tests](https://github.com/JustinDFuller/github-action-scheduler/actions/workflows/tests.yml/badge.svg)](https://github.com/JustinDFuller/github-action-scheduler/actions/workflows/tests.yml)

Github Action to run a Schedule.

Expand Down Expand Up @@ -125,7 +126,7 @@ The schema for the schedule JSON is in [`config.ts`](./config.ts).

Here is a sample Workflow YAML Configuration. It shows:

1. How to run the schedule on a cron timer, when pushing to a branch, or manually using workflow dispatch.
1. How to run the schedule on a cron timer, when pushing to a branch, or manually using workflow dispatch.
2. How to pass in the scheduled stored as a Github Variable.
3. How to access the outputs.

Expand All @@ -152,7 +153,7 @@ jobs:
uses: JustinDFuller/schedule@v2
with:
config: ${{ vars.SCHEDULE }} # Pass in the Schedule Variable

# Print the outputs of the above example schedule.
- run: echo steps.schedule.outputs.UNLOCK=${{ steps.schedule.outputs.UNLOCK }}
- run: echo steps.schedule.outputs.LOCK_WEEKENDS=${{ steps.schedule.outputs.LOCK_WEEKENDS }}
Expand Down

0 comments on commit 6ae3e49

Please sign in to comment.