diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b98293e..a63cfe70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,8 @@ jobs: - name: Checkout Repository uses: actions/checkout@v3 + with: + path: pipeline - name: Set up Python 3.11 uses: actions/setup-python@v2 @@ -25,10 +27,12 @@ jobs: uses: actions/checkout@v3 with: path: upload + ref: main token: ${{ secrets.GITHUB_TOKEN }} - name: Run build run: | + cd pipeline ls -alh pip install -r requirements.txt python build.py diff --git a/pipeline/utils.py b/pipeline/utils.py index c5c06d06..84bfb16f 100644 --- a/pipeline/utils.py +++ b/pipeline/utils.py @@ -33,7 +33,7 @@ def find_schemas(self, version:str) -> List[str]: class GitPusher(object): def __init__(self): - self.upload_dir = "upload" + self.upload_dir = "../upload" self._repo = Repo(self.upload_dir) def upload(self, version):