File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
- name : Deploy to Remote Server
22
22
env :
23
23
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
24
- SERVER_PASSWORD : ${{ secrets.SERVER_PASSWORD }}
24
+ SERVER_SSH_KEY : ${{ secrets.SERVER_SSH_KEY }}
25
25
run : |
26
- sshpass -p "$SERVER_PASSWORD " ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} << 'EOF'
26
+ sshpass -p "$SERVER_SSH_KEY " ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} << 'EOF'
27
27
# Clone or update the repository
28
28
if [ ! -d "GraphRAG" ]; then
29
29
git clone https://github.com/fatemenajafi135/GraphRAG.git
41
41
42
42
- name : Verify Deployment
43
43
env :
44
- SERVER_PASSWORD : ${{ secrets.SERVER_PASSWORD }}
44
+ SERVER_PASSWORD : ${{ secrets.SERVER_SSH_KEY }}
45
45
run : sshpass -p "$SERVER_PASSWORD" ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_HOST }} "docker ps"
You can’t perform that action at this time.
0 commit comments