31 lines
633 B
YAML
31 lines
633 B
YAML
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 }}
|