Skip to content

Commit c6aea01

Browse files
authored
Disable Playground website deployment steps
Comment out deployment steps for Playground website build.
1 parent 62061d5 commit c6aea01

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/deploy-website.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,29 @@ jobs:
6666
git push origin ${{ vars.GIT_REF_TO_DEPLOY || 'trunk' }}
6767
fi
6868
69-
- name: Deploy Playground website build
70-
shell: bash
71-
run: |
72-
mkdir -p ~/.ssh
73-
echo "${{ secrets.DEPLOY_WEBSITE_TARGET_HOST_KEY }}" >> ~/.ssh/known_hosts
74-
echo "${{ secrets.DEPLOY_WEBSITE_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
75-
chmod 0600 ~/.ssh/*
69+
# - name: Deploy Playground website build
70+
# shell: bash
71+
# run: |
72+
# mkdir -p ~/.ssh
73+
# echo "${{ secrets.DEPLOY_WEBSITE_TARGET_HOST_KEY }}" >> ~/.ssh/known_hosts
74+
# echo "${{ secrets.DEPLOY_WEBSITE_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
75+
# chmod 0600 ~/.ssh/*
7676

77-
# Website files
78-
rsync -avz -e "ssh -i ~/.ssh/id_ed25519" --delete \
79-
dist/packages/playground/wasm-wordpress-net/ \
80-
${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }}:'~/updated-playground-files'
77+
# # Website files
78+
# rsync -avz -e "ssh -i ~/.ssh/id_ed25519" --delete \
79+
# dist/packages/playground/wasm-wordpress-net/ \
80+
# ${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }}:'~/updated-playground-files'
8181

82-
# Include MIME types for use with PHP-served files
83-
cp packages/php-wasm/universal/src/lib/mime-types.json \
84-
packages/playground/website-deployment/
82+
# # Include MIME types for use with PHP-served files
83+
# cp packages/php-wasm/universal/src/lib/mime-types.json \
84+
# packages/playground/website-deployment/
8585

86-
# Host-specific deployment scripts and server config
87-
rsync -avz -e "ssh -i ~/.ssh/id_ed25519" --delete \
88-
packages/playground/website-deployment/ \
89-
${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }}:'~/website-deployment'
86+
# # Host-specific deployment scripts and server config
87+
# rsync -avz -e "ssh -i ~/.ssh/id_ed25519" --delete \
88+
# packages/playground/website-deployment/ \
89+
# ${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }}:'~/website-deployment'
9090

91-
# Apply update
92-
ssh -i ~/.ssh/id_ed25519 \
93-
${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }} \
94-
-tt -C '~/website-deployment/apply-update.sh'
91+
# # Apply update
92+
# ssh -i ~/.ssh/id_ed25519 \
93+
# ${{ secrets.DEPLOY_WEBSITE_TARGET_USER }}@${{ secrets.DEPLOY_WEBSITE_TARGET_HOST }} \
94+
# -tt -C '~/website-deployment/apply-update.sh'

0 commit comments

Comments
 (0)