test deploy 4
Some checks failed
publish / publish (push) Failing after 30s

This commit is contained in:
Lyn Fugmann 2024-10-06 23:03:11 +02:00
parent 124aab344a
commit 85bd877869
2 changed files with 5 additions and 4 deletions

View file

@ -32,9 +32,10 @@ jobs:
- name: deploy
run: |
apt-get update && apt-get install -y rsync
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && chmod +x /usr/bin/yq
eval $(ssh-agent -s)
echo "$SSH_PRIVATE_KEY" | ssh-add -
apt-get update && apt-get install -y rsync
mkdir ~/.ssh
ssh-keyscan ifsr.de > ~/.ssh/known_hosts
rsync -rvh --progress --delete --chmod=ugo=rwX _site/ ese-deploy@ifsr.de:2024-test
year=$(yq '.year' content/_data/ese.yaml)
rsync -rvh --progress --delete --chmod=ugo=rwX _site/ ese-deploy@ifsr.de:"$year"

View file

@ -1,4 +1,4 @@
year: 2024
year: 2025
startDay: 7
endDay: 11
color: "#F221B7"