This commit is contained in:
parent
124aab344a
commit
85bd877869
|
@ -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"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
year: 2024
|
||||
year: 2025
|
||||
startDay: 7
|
||||
endDay: 11
|
||||
color: "#F221B7"
|
||||
|
|
Loading…
Reference in a new issue