-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce28583
commit f5d3961
Showing
1 changed file
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,20 +7,22 @@ jobs: | |
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- name: Setup SSH known_hosts | ||
run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan -H 15.236.36.30 >> ~/.ssh/known_hosts | ||
- name: Setup SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- name: SSH Commands | ||
run: ssh -o StrictHostKeyChecking=yes [email protected] ' | ||
cd spark-matcher | ||
git pull' | ||
- name: Setup SSH known_hosts | ||
run: | | ||
mkdir -p ~/.ssh | ||
ssh-keyscan -H 15.236.36.30 >> ~/.ssh/known_hosts | ||
- name: SSH Commands | ||
run: | | ||
ssh -o StrictHostKeyChecking=yes [email protected] ' | ||
cd spark-matcher | ||
git pull | ||
' |