Skip to content

Commit

Permalink
Merge pull request #76 from mit-jp/new_deployment_method
Browse files Browse the repository at this point in the history
worked for fs03
  • Loading branch information
mjbludwig authored Jan 31, 2025
2 parents e69d164 + 37a86dc commit 462aed5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,9 @@ jobs:
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: >
podman pod start crm_pod &&
podman stop crm_backend &&
systemctl --user stop pod-crm_pod.service &&
ln -snf ~/builds/${{ github.event.pull_request.head.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 database reset -y &&
podman start crm_backend
systemctl --user start pod-crm_pod.service
deploy-production:
if: github.event_name == 'push'
Expand Down

0 comments on commit 462aed5

Please sign in to comment.