HeyGenLabs's picture
upload
a4c83b9
raw
history blame contribute delete
259 Bytes
import subprocess
import os
PAT = os.getenv("GITHUB_TOKEN")
USER = os.getenv("GITHUB_USER")
SLUG = os.getenv("GITHUB_SLUG")
os.system(f"git clone https://{USER}:{PAT}@github.com/{SLUG}.git")
os.chdir(SLUG.replace(f"{USER}/", ""))
os.system("python demo.py")