fix: change deploy workflow target branch and pull command to master
This commit is contained in:
@@ -3,7 +3,7 @@ name: Deploy to VPS
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
cd /opt/imphenbot || exit
|
||||
|
||||
# Pull latest changes
|
||||
git pull origin main
|
||||
git pull origin master
|
||||
|
||||
# Write environment variables from GitHub Secrets
|
||||
echo "$ENV_FILE" > .env
|
||||
|
||||
Reference in New Issue
Block a user