Skip to content

Commit

Permalink
fixed pathes
Browse files Browse the repository at this point in the history
  • Loading branch information
Foroxon committed Dec 11, 2024
1 parent 7d988fe commit 49e0b1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
git fetch --all
git switch ${{ github.ref_name }}
git pull
bash redeploy_update_server.sh -s '/home/jaam/ukraine_alarm_map' -sb '/home/jaam/ukraine_alarm_map' -m ${{ secrets.MEMCACHED_HOST }}
bash redeploy_update_server.sh -s '/home/jaam/ukraine_alarm_map/bin' -sb '/home/jaam/ukraine_alarm_map/bin_beta' -m ${{ secrets.MEMCACHED_HOST }}
- name: Redeploy Web Server
if: ${{ inputs.redeploy_web_server || inputs.redeploy_all }}
uses: appleboy/[email protected]
Expand Down
3 changes: 0 additions & 3 deletions deploy/update_server/update_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,7 @@ async def update_cache():
]
)
await mc.set(b"bins", json.dumps(filenames).encode("utf-8"))
logger.debug(f"Updated cache with {len(filenames)} bins")
await mc.set(b"test_bins", json.dumps(beta_filenames).encode("utf-8"))
logger.debug(f"Updated cache with {len(beta_filenames)} test bins")
await asyncio.sleep(1000)


app = Starlette(
Expand Down

0 comments on commit 49e0b1b

Please sign in to comment.