We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ae7c4 commit 6f698adCopy full SHA for 6f698ad
.github/workflows/ds-docs-deploy-production.yml
@@ -43,8 +43,11 @@ jobs:
43
mkdir -p ~/.ssh
44
echo "sftp.wp.com ssh-ed25519 $SSH_HOST_PUBLIC_KEY" > ~/.ssh/known_hosts
45
46
- rsync -avz -e "ssh -i key.pem -o UserKnownHostsFile=~/.ssh/known_hosts -o StrictHostKeyChecking=yes" \
47
- apps/design-system-docs/dist/ \
48
- "$SSH_USER@sftp.wp.com:~/htdocs/"
+ # Copy the built site to the production server
+ scp -r -i key.pem \
+ -o UserKnownHostsFile=~/.ssh/known_hosts \
49
+ -o StrictHostKeyChecking=yes \
50
+ apps/design-system-docs/dist/* \
51
+ "$SSH_USER@sftp.wp.com:/srv/htdocs/"
52
53
rm key.pem
0 commit comments