Skip to content

Commit

Permalink
Create 24x7-test1.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yashtandon113 authored Jan 10, 2024
1 parent 7ddcd98 commit 78a8c07
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/24x7-test1.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Python 24x7 script

on:
schedule:
- cron: '*/5 * * * *'

jobs:
run-selenium:
runs-on: ubuntu-latest

env:
WEBHOOK_URL: ${{ secrets.WEBHOOK }}
SERVER_IP: ${{ secrets.SERVER_IP }}
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python 3
uses: actions/setup-python@v3
with:
python-version: 3.x

- name: Install dependencies
run: |
pip install requests
pip install paramiko
- name: Run staging script
run: |
python 24x7.py

0 comments on commit 78a8c07

Please sign in to comment.