File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: 'Deploy WordPress code to a server'
3
3
author : ' rtCamp'
4
4
runs :
5
5
using : ' docker'
6
- image : ' docker://ghcr.io/rtcamp/action-deploy-wordpress:v3.0.2 '
6
+ image : ' docker://ghcr.io/rtcamp/action-deploy-wordpress:v3.0.3 '
7
7
branding :
8
8
icon : ' upload-cloud'
9
9
color : ' yellow'
Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ function maybe_install_submodules() {
144
144
# Check and update submodules if any
145
145
if [[ -f " $GITHUB_WORKSPACE /.gitmodules" ]]; then
146
146
# add github's public key
147
- echo " |1|qPmmP7LVZ7Qbpk7AylmkfR0FApQ=|WUy1WS3F4qcr3R5Sc728778goPw= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ== " >> /etc/ssh/known_hosts
147
+ curl -sL https://api.github.com/meta | jq -r ' .ssh_keys | .[] ' | sed -e ' s/^/github.com / ' >> /etc/ssh/known_hosts
148
148
149
149
identity_file=' '
150
150
if [[ -n " $SUBMODULE_DEPLOY_KEY " ]]; then
You can’t perform that action at this time.
0 commit comments