Skip to content
calendar

GitHub Action

Don't Deploy on Friday!

v1.0.5 Latest version

Don't Deploy on Friday!

calendar

Don't Deploy on Friday!

GitHub Action to tell you to not deploy on Friday

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Don't Deploy on Friday!

uses: HormCodes/[email protected]

Learn more about this action in HormCodes/do-not-deploy-on-friday

Choose a version

Don't Deploy on Friday

GitHub Action to tell you "Don't deploy on Friday!". This action will fail with an error if the current day in the specified timezone is Friday.

Meme

Usage

Insert following step into your GitHub Actions workflow:

steps:
- uses: HormCodes/do-not-deploy-on-friday@v1
  # See Inputs section below...
  with:
    timezone: Europe/Prague

Inputs

Name Required Description Default
timezone false Timezone to identify the current day. All available timezones are listed here. UTC

Outputs

Name Type Description
dayName string Name of the current day, e.g. Friday.
dayIndex number Index of the current day, e.g. 5.
failed boolean Boolean value representing current day is Friday.

License

This action and all its sources are under MIT license.