From 76a41fb121166b2e689a91ebd67e15b5820131f0 Mon Sep 17 00:00:00 2001 From: Darren Reid Date: Mon, 23 Oct 2023 18:08:04 +1100 Subject: [PATCH] Manually copy data to named volume for now. --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 796333b..f847a20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/scp-action@v0.1.3 + 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/scp-action@v0.1.3