Skip to content

Pause/Resume UptimeRobot Monitor

Actions
Pause or resume an UptimeRobot monitor during deployment
v1.0.1
Latest
Star (0)

uptimerobot-action

Use this github action to pause and resume UptimeRobot Monitors during a deployment of a service.

Usage

```yaml
name: My Workflow

on:
push:
    branches:
    - main

jobs:
pause_resume:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
        uses: actions/checkout@v2

    - name: Pause/Resume UptimeRobot Monitor
        uses: Brainchain-ai/[email protected]
        with:
          api_key: ${{ secrets.UPTIMEROBOT_API_KEY }}
          monitor_id: 'your_monitor_id'
          action: '0' # 0 for pause, 1 for resume

    - name: Deploy
        run: |
        echo "Deploying..."
        sleep 10
        echo "Deployed!"

    - name: Pause/Resume UptimeRobot Monitor
        uses: Brainchain-ai/[email protected]
        with:
          api_key: ${{ secrets.UPTIMEROBOT_API_KEY }}
          monitor_id: 'your_monitor_id'
          action: '1' # 0 for pause, 1 for resume
```

Pause/Resume UptimeRobot Monitor is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Pause or resume an UptimeRobot monitor during deployment
v1.0.1
Latest

Pause/Resume UptimeRobot Monitor is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.