chore(devops): ritght workflow settings

This commit is contained in:
Leandro Antônio Farias Machado 2023-05-15 14:39:08 +00:00
parent d489245e44
commit b497a9fa8b

View File

@ -22,7 +22,10 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
whoami
ls -al
cd ~/oktopus/frontend
git pull origin main
yarn install
yarn build
pm2 restart oktopus