This commit is contained in:
1 parent
6299d4338f
commit
627a4d7353
1 file changed
+4
-6
@@ -27,14 +27,12 @@ jobs:
|
|||||||
|
|
||||||
# --- CLEAN-UP STEP (After git reset, before build) ---
|
# --- CLEAN-UP STEP (After git reset, before build) ---
|
||||||
echo "--- Moving or removing specific items ---"
|
echo "--- Moving or removing specific items ---"
|
||||||
|
|
||||||
# Example: Remove a directory completely
|
|
||||||
# rm -rf /var/www/atom-nexst/directory-name
|
# rm -rf /var/www/atom-nexst/directory-name
|
||||||
|
# mkdir -p /var/www/atom-storage-temp && mv /var/www/atom-nexst/config-file.json /var/www/atom-storage-temp/
|
||||||
|
|
||||||
# Example: Move a file to a safe location outside the webroot
|
# Load environment variables from .env file for the next steps
|
||||||
# mkdir -p /var/www/atom-storage-temp
|
export $(grep -v '^#' .env | xargs)
|
||||||
# mv /var/www/atom-nexst/config-file.json /var/www/atom-storage-temp/
|
|
||||||
|
|
||||||
# 3. Run database migrations natively
|
# 3. Run database migrations natively
|
||||||
echo "--- Running Database Migrations ---"
|
echo "--- Running Database Migrations ---"
|
||||||
pnpm db:migrate
|
pnpm db:migrate
|
||||||
|
|||||||
Reference in new issue
Block a user