Skip to content

Commit

Permalink
Merge pull request #45 from Xcceleran-do/master
Browse files Browse the repository at this point in the history
variable changed from env to secrets
  • Loading branch information
EsubalewAmenu authored Oct 11, 2024
2 parents a331c55 + 66564d0 commit 2b6acd7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
with:
ssh-private-key: ${{ secrets.ESUBALEW_MAC_SSH_PRIVATE_KEY }} # Access SSH key from secrets.

- name: Test SSH Connection
run: ssh -o StrictHostKeyChecking=no esubalew@${{ secrets.JUMP_SERVER_IP }} exit

- name: Sync Files to Target Server via Jump Server
run: |
scp -o "ProxyJump esubalew@${{ env.JUMP_SERVER_IP }}" -r ./ esubalew@${{ env.WORDPRESS_PRODUCTION_SERVER_IP }}:/testwp/mailing/
scp -o "ProxyJump esubalew@${{ secrets.JUMP_SERVER_IP }}" -r ./ esubalew@${{ secrets.WORDPRESS_PRODUCTION_SERVER_IP }}:/testwp/mailing/

0 comments on commit 2b6acd7

Please sign in to comment.