fix(devops): pull from main branch, not master
This commit is contained in:
parent
d926f8f94c
commit
ce5dc9386b
2
.github/workflows/github-actions-ec2.yml
vendored
2
.github/workflows/github-actions-ec2.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
key: ${{ secrets.EC2_SSH_KEY }}
|
key: ${{ secrets.EC2_SSH_KEY }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/oktopus/frontend
|
cd ~/oktopus/frontend
|
||||||
git pull origin master
|
git pull origin main
|
||||||
yarn install &&
|
yarn install &&
|
||||||
yarn build &&
|
yarn build &&
|
||||||
pm2 restart oktopus
|
pm2 restart oktopus
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user