Skip to content

Commit

Permalink
Making sure to use the preset configured host.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jan 15, 2025
1 parent 6b04ffa commit 738ee0b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/wpcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,15 @@ jobs:
echo "::endgroup::"
echo "::group::Transferring wpcomsh to the testing server"
ssh -v jpwpcomsh "exit"
pnpm jetpack rsync wpcomsh [email protected]:~/htdocs/wp-content/mu-plugins
scp -r projects/plugins/wpcomsh/bin [email protected]:/srv/htdocs/wp-content/mu-plugins/wpcomsh
scp -r projects/plugins/wpcomsh/tests [email protected]:/srv/htdocs/wp-content/mu-plugins/wpcomsh/
scp projects/plugins/wpcomsh/phpunit.xml.dist [email protected]:/srv/htdocs/wp-content/mu-plugins/wpcomsh/
pnpm jetpack rsync wpcomsh jpwpcomsh:~/htdocs/wp-content/mu-plugins
scp -r projects/plugins/wpcomsh/bin jpwpcomsh:/srv/htdocs/wp-content/mu-plugins/wpcomsh
scp -r projects/plugins/wpcomsh/tests jpwpcomsh:/srv/htdocs/wp-content/mu-plugins/wpcomsh/
scp projects/plugins/wpcomsh/phpunit.xml.dist jpwpcomsh:/srv/htdocs/wp-content/mu-plugins/wpcomsh/
echo "::engroup::"
echo "::group::execution"
ssh -i ~/.ssh/id_site [email protected] "~/htdocs/github-action-handler.sh" || CODE=$?
ssh jpwpcomsh "~/htdocs/github-action-handler.sh" || CODE=$?
echo "::endgroup::"
echo "::group::teardown"
Expand Down

0 comments on commit 738ee0b

Please sign in to comment.