add pipeline

This commit is contained in:
Josuani Moranchel
2023-12-21 01:19:09 -06:00
commit a277da1311
2 changed files with 51 additions and 0 deletions

30
.github/workflows/CloudGuru.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: pipeline
on:
push:
branches:
- main
jobs:
setup-lab:
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install requests==2.26.0
- name: Run Lab Setup
run: python .github/scripts/lab-setup.py
env:
CLOUDGURU_API_KEY: ${{ secrets.CLOUDGURU_API_KEY }}
OTHER_SECRET: ${{ secrets.OTHER_SECRET }}