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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
cd /opt/imphenbot || exit
|
cd /opt/imphenbot || exit
|
||||||
|
|
||||||
# Pull latest changes
|
# Pull latest changes
|
||||||
git pull origin main
|
git pull origin master
|
||||||
|
|
||||||
# Write environment variables from GitHub Secrets
|
# Write environment variables from GitHub Secrets
|
||||||
echo "$ENV_FILE" > .env
|
echo "$ENV_FILE" > .env
|
||||||
|
|||||||
Reference in New Issue
Block a user