Skip to content

Commit

Permalink
adding copying knowledgebase to vm
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Oct 27, 2024
1 parent ecf5b74 commit f3b3598
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ jobs:
source: "./docker/weaviate.yml"
target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }}

- name: Copy knowledge base From Repo to VM Host
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ vars.VM_HOST }}
username: ${{ vars.VM_USERNAME }}
key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
proxy_host: ${{ vars.DEPLOYMENT_GATEWAY_HOST }}
proxy_username: ${{ vars.DEPLOYMENT_GATEWAY_USER }}
proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }}
proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }}
source: "./knowledge"
target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }}

- name: Copy env file File for weaviate From Repo to VM Host
uses: appleboy/scp-action@v0.1.7
with:
Expand Down

0 comments on commit f3b3598

Please sign in to comment.