Commit 09ccbbf 1 parent 66cf433 commit 09ccbbf Copy full SHA for 09ccbbf
File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -24,19 +24,16 @@ jobs:
24
24
run : bundle exec jekyll build
25
25
env :
26
26
JEKYLL_ENV : production
27
- - name : deploy website
27
+ - name : Create SSH key
28
28
shell : bash
29
29
env :
30
30
SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
31
31
run : |
32
32
mkdir -p ~/.ssh
33
33
echo "${SSH_PRIVATE_KEY}" | base64 -d > ${HOME}/.ssh/deploy.id_rsa
34
34
chmod 700 ${HOME}/.ssh/deploy.id_rsa
35
- rsync -azL -e "ssh -i ${HOME}/.ssh/deploy.id_rsa -o StrictHostKeyChecking=no" --delete --progress _site/ [email protected] :/data/website/htdocs/
36
35
- name : Update Docker container
37
36
shell : bash
38
- env :
39
- SSH_PRIVATE_KEY : ${{ secrets.SSH_PRIVATE_KEY }}
40
37
run : |
41
38
ssh -i ${HOME}/.ssh/deploy.id_rsa -o StrictHostKeyChecking=no [email protected] << EOF
42
39
docker pull ghcr.io/munichmakerlab/website:main
You can’t perform that action at this time.
0 commit comments