fix(devops): pull from main branch, not master

This commit is contained in:
Leandro Antônio Farias Machado 2023-05-15 13:55:55 +00:00
parent d926f8f94c
commit ce5dc9386b

View File

@ -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