feat(FN-094): add comment line for deployment verification
Some checks failed
Sync dev → Gitea / Mirror dev to Gitea (push) Has been cancelled
Some checks failed
Sync dev → Gitea / Mirror dev to Gitea (push) Has been cancelled
- Added a comment line to main.ts for deployment verification purposes
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -22,7 +22,6 @@ jobs:
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
script_stop: true
|
||||
script: |
|
||||
set -euo pipefail
|
||||
|
||||
@@ -34,7 +33,11 @@ jobs:
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting deployment..."
|
||||
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') - Pulling latest changes..."
|
||||
git pull origin main
|
||||
git fetch origin main
|
||||
# Hard reset to remote to drop any stale build artifacts (e.g. tsbuildinfo)
|
||||
# that would otherwise block 'git pull'. The deploy server is treated as
|
||||
# a deployment target, not a development checkout.
|
||||
git reset --hard origin/main
|
||||
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') - Installing dependencies..."
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
Reference in New Issue
Block a user