Code Monkey home page Code Monkey logo

canideploy's Introduction

@schedule-x/canideploy

A GitHub-action for failing production builds on Fridays.

Example of a failing build

Usage

name: Your production build
on:
  push:
  branches:
    - main

jobs:
  test:
    name: Build + ship
    runs-on: ubuntu-latest
    steps:
      - name: Checkout โœ…
        uses: actions/checkout@v4
      - name: Can I deploy?
        uses: schedule-x/[email protected]
        with:
          timezone: 'Europe/Berlin'
      # ... your build steps

Setting your time zone

To ensure that the action knows when it's Friday for you, you need to configure your timezone as in the example above. Available timezones and their offset to UTC are the following:

Note

All time zone offsets are in standard time. Daylight saving time is not considered, which might cause a small offset if you're located anywhere that uses daylight saving time.

  • US/Hawaii: -10
  • US/Alaska: -9
  • US/Pacific: -8
  • US/Mountain: -7
  • US/Central: -6
  • US/Eastern: -5
  • America/Argentina/Buenos_Aires: -3
  • Atlantic/Cape_Verde: -1
  • Etc/UTC: 0
  • Europe/Berlin: 1
  • Europe/Athens: 2
  • Asia/Damascus: 3
  • Asia/Dubai: 4
  • Asia/Kabul: 4.5
  • Asia/Kolkata: 5.5
  • Asia/Kathmandu: 5.75
  • Asia/Dhaka: 6
  • Asia/Rangoon: 6.5
  • Asia/Bangkok: 7
  • Asia/Shanghai: 8
  • Asia/Tokyo: 9
  • Australia/Sydney: 10
  • Pacific/Auckland: 12

canideploy's People

Contributors

tomosterlund avatar

Stargazers

Adil avatar Felix Scholze avatar Carl avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.