Skip to content

Commit 09ccbbf

Browse files
authored
Update jekyll-deploy.yml - remove content update
Docker image is build directly with the updated website on each update.
1 parent 66cf433 commit 09ccbbf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/jekyll-deploy.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,16 @@ jobs:
2424
run: bundle exec jekyll build
2525
env:
2626
JEKYLL_ENV: production
27-
- name: deploy website
27+
- name: Create SSH key
2828
shell: bash
2929
env:
3030
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
3131
run: |
3232
mkdir -p ~/.ssh
3333
echo "${SSH_PRIVATE_KEY}" | base64 -d > ${HOME}/.ssh/deploy.id_rsa
3434
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/
3635
- name: Update Docker container
3736
shell: bash
38-
env:
39-
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
4037
run: |
4138
ssh -i ${HOME}/.ssh/deploy.id_rsa -o StrictHostKeyChecking=no [email protected] << EOF
4239
docker pull ghcr.io/munichmakerlab/website:main

0 commit comments

Comments
 (0)