Install the ssh key
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 1m50s
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 1m50s
This commit is contained in:
parent
91f05d9824
commit
e63b2e6921
@ -19,7 +19,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}
|
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}
|
||||||
- name: Create ssh key
|
- name: Install SSH Key
|
||||||
run: mkdir ~/.ssh && echo "${{ secrets.SSH_KEY }}" >> ~/.ssh/id_rsa
|
uses: shimataro/ssh-key-action@v2
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
- name: Copy _site to prod
|
- name: Copy _site to prod
|
||||||
run: scp -rp _site/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html
|
run: scp -rp _site/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html
|
Loading…
Reference in New Issue
Block a user