Skip to content

Commit

Permalink
🚚 cd: set real target folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnPetros committed Jun 27, 2024
1 parent 087950b commit 0897341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
source: "."
target: "~/smart-farming-scp"
target: "~/smart-farming"

- name: Run app
uses: appleboy/ssh-action@v1.0.3
Expand All @@ -29,5 +29,5 @@ jobs:
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
script: |
cd /smart-farming
cd ~/smart-farming
docker compose up -d

0 comments on commit 0897341

Please sign in to comment.