Skip to content

Commit

Permalink
Manually copy data to named volume for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Oct 23, 2023
1 parent 1421a4a commit 76a41fb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,18 @@ jobs:
input: .deploy/docker-compose-template.yml
output: .deploy/${{ github.event.repository.name }}-docker-compose.yml

# Copy sample data manually for this demo
- name: copy sample pdfs
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_API }}
username: ${{ secrets.DEPLOY_USERNAME }}
port: 22
key: ${{ secrets.DEPLOY_KEY }}
strip_components: 2
source: "./TalentBlazor/App_Data/*.pdf"
target: "/var/lib/docker/volumes/deploy_TalentBlazor-mydb/_data/App_Data/"

# Copy only the docker-compose.yml to remote server home folder
- name: copy compose file via scp
uses: appleboy/[email protected]
Expand Down

0 comments on commit 76a41fb

Please sign in to comment.