Add ssh deploy key and stuff.
Build Web App / build-and-deploy (push) Failing after 13s
Details
Build Web App / build-and-deploy (push) Failing after 13s
Details
This commit is contained in:
parent
7497389984
commit
81a790be33
|
@ -16,5 +16,10 @@ jobs:
|
|||
working-directory: ./web-app
|
||||
- run: npm run build
|
||||
working-directory: ./web-app
|
||||
- run: mkdir .ssh && echo "${{ secrets.deploykey }}" > .ssh/id_rsa
|
||||
- name: Install SSH Key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
- name: Add SSH Known Hosts
|
||||
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
|
||||
- run: rsync -rav -e ssh --delete dist/* root@andrewlalis.com:/opt/finnow/app-content
|
||||
|
|
Loading…
Reference in New Issue