chore(devops): ritght workflow settings
This commit is contained in:
parent
d489245e44
commit
b497a9fa8b
7
.github/workflows/github-actions-ec2.yml
vendored
7
.github/workflows/github-actions-ec2.yml
vendored
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user