chore: improve local deploy helper feedback
This commit is contained in:
@@ -385,7 +385,7 @@ make backup-verify BACKUP_DIR=backups/backup_YYYYmmdd_HHMMSS</code></pre>
|
||||
<h3>Manual deploy</h3>
|
||||
<p>The preferred current test-deployment path is the local helper script from a Mac or another LAN-connected workstation:</p>
|
||||
<pre><code>./scripts/deploy_test_from_mac.sh</code></pre>
|
||||
<p>This script fast-forwards <code>develop</code>, syncs the repo to the server with <code>rsync</code>, runs the remote deployment, and verifies the health endpoint.</p>
|
||||
<p>This script fast-forwards <code>develop</code>, checks that the remote env file exists, syncs the repo to the server with <code>rsync</code>, runs the remote deployment, verifies the health endpoint, and prints the deployed commit hash.</p>
|
||||
<p>The script explicitly preserves server-local env files such as <code>.env.test</code> and <code>.env.prod</code> so deployment does not wipe machine-specific secrets.</p>
|
||||
<p>Direct server-side deploy is still available if the code is already on the server:</p>
|
||||
<pre><code>cd /opt/workdock
|
||||
|
||||
Reference in New Issue
Block a user