Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Fix host key verification error
Browse files Browse the repository at this point in the history
  • Loading branch information
anli5005 committed Dec 28, 2023
1 parent 5449ee1 commit 4cbed98
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ jobs:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:cis1951
- name: Copy SSH key
run: echo "${{ secrets.SSH_KEY }}" > ${{ runner.temp }}/id_cis1951
- name: Write SSH files
run: |
echo "${{ secrets.SSH_KEY }}" > ${{ runner.temp }}/id_cis1951
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ${{ runner.temp }}/known_hosts
- name: Upload files
run: rsync -av --delete -e "ssh -i ${{ runner.temp }}/id_cis1951" out/ [email protected]:public_html
run: rsync -av --delete -e "ssh -i ${{ runner.temp }}/id_cis1951 -o UserKnownHostsFile=${{ runner.temp }}/known_hosts" out/ [email protected]:public_html

0 comments on commit 4cbed98

Please sign in to comment.