Skip to content

Commit

Permalink
Merge pull request #651 from Crypter-File-Transfer/ci-cd/deploy-fix
Browse files Browse the repository at this point in the history
Add trailing slash to copy target path
  • Loading branch information
Jack-Edwards authored Nov 29, 2023
2 parents 1f8ec3c + cfdc513 commit 6d60fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
username: ${{ secrets.APPSERVER_SSH_USER }}
key: ${{ secrets.APPSERVER_SSH_PRIVATE_KEY }}
source: /home/runner/scp-files/.env
target: ${{ secrets.APPSERVER_ENV_FILE_PATH }}
target: ${{ secrets.APPSERVER_ENV_FILE_PATH }}/
strip_components: 3

- name: Write latest appsettings.json to temp file
Expand All @@ -86,7 +86,7 @@ jobs:
username: ${{ secrets.APPSERVER_SSH_USER }}
key: ${{ secrets.APPSERVER_SSH_PRIVATE_KEY }}
source: /home/runner/scp-files/appsettings.json
target: ${{ secrets.APPSERVER_APPSETTINGS_JSON_PATH }}
target: ${{ secrets.APPSERVER_APPSETTINGS_JSON_PATH }}/
strip_components: 3

- name: Push latest Docker Compose file
Expand Down

0 comments on commit 6d60fe6

Please sign in to comment.