Skip to content

Commit

Permalink
Merge branch 'subcat-name' of https://github.com/mit-jp/climate-risk-map
Browse files Browse the repository at this point in the history
 into subcat-name
  • Loading branch information
ethanrdsch committed Feb 4, 2025
2 parents 815acbe + 5e46d37 commit edd4397
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 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 Expand Up @@ -196,7 +194,6 @@ jobs:
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: >
podman stop crm_backend &&
systemctl --user stop pod-crm_pod.service &&
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 start pod-crm_pod.service

0 comments on commit edd4397

Please sign in to comment.