This commit is contained in:
parent
ca81656729
commit
b2015aa2f5
1 changed files with 1 additions and 3 deletions
|
@ -13,14 +13,12 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install PM2
|
||||
run: npm i -g pm2
|
||||
|
||||
- name: Set up SSH
|
||||
run: |
|
||||
mkdir -p ~/.ssh/
|
||||
echo "${{ secrets.SSH_KEY }}" > ./deploy.key
|
||||
chmod 600 ./deploy.key
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
|
||||
|
||||
- name: Install PM2
|
||||
run: npm i -g pm2
|
||||
|
|
Loading…
Add table
Reference in a new issue