-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually copy data to named volume for now.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|