Harden deploy workflow and record next-session handoff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user