File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,25 @@ jobs:
2929 mkdir ~/.ssh
3030 echo "sarasvati.unicode.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGx+XeCMGtRbA7X26EVcYG41zQrZmM05Vw5I0zISPqz9f+94Vlm4P26hsmY/DCA1j4EMlbbiISqRqzbLfAz1s5s=" >> ~/.ssh/known_hosts
3131 echo "cldr-smoke.unicode.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKebRPtFh4wfiya5UX+8OGJorbdu66PeXASGLvgmSMgewsBF0LwS2r5qcMlv11LdSQh/PrP0gWndmG7bBOQOZj0=" >> ~/.ssh/known_hosts
32- echo ${SSH_KEY} >> ~/.ssh/id_rsa
32+ echo "${SSH_KEY}" | base64 -d > ~/.ssh/id_rsa
33+ md5sum ~/.ssh/id_rsa
34+ echo "Host ${{ vars.SSH_HOST }}" >> ~/.ssh/config
35+ echo " User ${{ vars.SSH_USER }}" >> ~/.ssh/config
36+ echo " Port ${{ vars.SSH_PORT }}" >> ~/.ssh/config
37+ echo " IdentityFile ${HOME}/.ssh/id_rsa" >> ~/.ssh/config
38+ cat ~/.ssh/config
3339 chmod -R go= ~/.ssh
3440 env :
3541 SSH_KEY : ${{ secrets.SSH_KEY }}
3642
3743 - name : Sync files to server
3844 run : |
39- rsync --dry-run -- recursive --inplace --verbose --verbose \
45+ rsync --recursive --inplace --verbose --verbose \
4046 docs/charts/${{ steps.setup.outputs.chartnum }}/ \
41- ${{ vars.SSH_USER }}@${{ vars.SSH_HOST }}:public_html/charts/${{ steps.setup.outputs.chartnum }}
47+ ${{ vars.SSH_HOST }}:public_html/cldr/charts/${{ steps.setup.outputs.chartnum }}
48+ - name : Notify
49+ run : |
50+ echo "Updated: https://cldr-smoke.unicode.org/cldr/charts/${{ steps.setup.outputs.chartnum }}"
4251
4352concurrency :
4453 group : ${{ github.workflow }}-${{ github.ref }}
You can’t perform that action at this time.
0 commit comments