fix(devops): test ssh connection
This commit is contained in:
parent
352afb6751
commit
d489245e44
7
.github/workflows/github-actions-ec2.yml
vendored
7
.github/workflows/github-actions-ec2.yml
vendored
|
|
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user