Harden deploy workflow and record next-session handoff

This commit is contained in:
cesnimda
2026-03-24 00:02:24 +01:00
parent a710d63bb7
commit 2c6d3f8f6f
4 changed files with 136 additions and 7 deletions
+2 -1
View File
@@ -37,7 +37,7 @@ jobs:
- name: Test frontend
working-directory: job-tracker-ui
run: npm test -- --watchAll=false --runInBand App.test.tsx confirm.test.tsx prompt.test.tsx dialog-flow.test.tsx confirm-flow.test.tsx attachments.test.tsx job-details-generated-drafts.test.tsx admin-system-page.test.tsx
run: npm test -- --watchAll=false --runInBand App.test.tsx confirm.test.tsx prompt.test.tsx dialog-flow.test.tsx confirm-flow.test.tsx attachments.test.tsx job-details-generated-drafts.test.tsx admin-system-page.test.tsx profile-page.test.tsx
- name: Build frontend
working-directory: job-tracker-ui
@@ -55,6 +55,7 @@ jobs:
username: ${{ secrets.PROD_USER }}
key: ${{ secrets.PROD_SSH_KEY }}
script: |
set -euo pipefail
if [ ! -d /opt/job-tracker/app/.git ]; then
echo "Expected git checkout at /opt/job-tracker/app but .git was not found."
exit 1