Skip to content

Commit

Permalink
adding the prod deployment change
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbludwig committed Jan 31, 2025
1 parent 37a86dc commit b8c34e9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ jobs:
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: >
podman stop crm_backend &&
ln -snf ~/builds/${{ github.sha }} ~/climate-risk-map &&
podman run --rm -v ~/climate-risk-map/backend:/opt/climate-risk-map/backend:Z --tz=America/New_York --env-file=$HOME/.env --pod=crm_pod sqlx migrate run &&
podman start crm_backend
systemctl --user stop pod-crm_pod.service &&
ln -snf ~/builds/${{ github.event.pull_request.head.sha }} ~/climate-risk-map &&
systemctl --user start pod-crm_pod.service

0 comments on commit b8c34e9

Please sign in to comment.