Skip to content

Commit

Permalink
Fix seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Mar 14, 2024
1 parent c9ac129 commit b4c505c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ jobs:
echo "CERTBOT_EMAIL=$CERTBOT_EMAIL" >> .env
docker compose --profile production pull -q
docker compose --profile production stop
docker compose --profile production build
docker compose --profile production up -d
2 changes: 1 addition & 1 deletion resources/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def load_resources(abs_path):
def main():
root_dir = os.path.dirname(os.path.abspath(__name__))
resources = load_resources(os.path.join(root_dir, "seeds"))
with gzip.open("../zenproject/seeds.ndjson.gz", "w") as f:
with gzip.open("../zenproject/seeds-data.ndjson.gz", "w") as f:
f.write(ndjson.dumps(resources).encode())


Expand Down
2 changes: 1 addition & 1 deletion zenproject/zrc/system.edn
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
seed
{:zen/tags #{aidbox/service}
:engine aidbox/seed
:files ["seeds.ndjson.gz"]}
:files ["seeds-data.ndjson.gz"]}

public-access
{:zen/tags #{aidbox/service}
Expand Down

0 comments on commit b4c505c

Please sign in to comment.