Skip to content

Commit

Permalink
make pipeline work
Browse files Browse the repository at this point in the history
  • Loading branch information
olinux committed Jun 29, 2023
1 parent cf0548d commit 2df879e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pipeline/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2df879e

Please sign in to comment.