Skip to content

Commit

Permalink
Update cicd file
Browse files Browse the repository at this point in the history
  • Loading branch information
danyama committed Oct 3, 2024
1 parent a093d8d commit 004118e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI/CD
on: [push, pull_request]
# push:
# branches:
# - main
# - develop

jobs:
ci:
Expand Down Expand Up @@ -42,7 +42,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check Alembic Migration Version
id: alembicChecker
uses: DevGlitch/alembic-migration-checker@v1.1
output:
with:
db_url: ${{ secrets.DB_URL }}
migrations_path: ./migrations/

- name: executing remote ssh commands using password
if: steps.alembicChecker.outputs == 0
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
Expand Down
3 changes: 1 addition & 2 deletions server/services/jupiter_crawler/crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ def __extract_classes_info(self) -> list[Class]:
classes.append(class_)
except Exception as e:
print(
f"Ignoring exception trying to crawl {
index}th class on {self.__subject_code} subject:\n",
f"Ignoring exception trying to crawl {index}th class on {self.__subject_code} subject:\n",
e,
)

Expand Down

0 comments on commit 004118e

Please sign in to comment.