ops: move production service to port 18080
Verify and deploy production / verify-and-deploy (push) Successful in 2m29s
Verify and deploy production / verify-and-deploy (push) Successful in 2m29s
This commit is contained in:
@@ -39,7 +39,6 @@ jobs:
|
||||
- name: Deploy persistent production service
|
||||
if: gitea.event_name == 'workflow_dispatch' || (gitea.event_name == 'push' && gitea.ref == 'refs/heads/main')
|
||||
env:
|
||||
DEPLOY_PORT: ${{ vars.DEPLOY_PORT }}
|
||||
RELEASE_SHA: ${{ gitea.sha }}
|
||||
run: |
|
||||
set -eu
|
||||
@@ -52,7 +51,7 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PORT="${DEPLOY_PORT:-3000}"
|
||||
PORT=18080
|
||||
APP_ROOT=/opt/rednote-tool-studio
|
||||
RELEASE_DIR="$APP_ROOT/releases/$RELEASE_SHA"
|
||||
DATA_ROOT=/var/lib/rednote-tool-studio
|
||||
|
||||
Reference in New Issue
Block a user