Skip to content

Commit

Permalink
[update] : deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba1180 committed May 3, 2023
1 parent 5e12726 commit 026557a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ steps:
image: node:14
commands:
- npm run build

- name: deploy
image: ubuntu:20.04
commands:
- apt-get update && apt-get install -y openssh-client
- mkdir -p ~/.ssh
- echo "$SSH_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
- scp -r build/* $SSH_USER@$SSH_HOST:$SSH_PATH

1 comment on commit 026557a

@vercel
Copy link

@vercel vercel bot commented on 026557a May 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.