fix(devops): test ssh connection

This commit is contained in:
Leandro Antônio Farias Machado 2023-05-15 14:28:47 +00:00
parent 352afb6751
commit d489245e44

View File

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