This commit is contained in:
parent
124aab344a
commit
85bd877869
2 changed files with 5 additions and 4 deletions
|
@ -32,9 +32,10 @@ jobs:
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
run: |
|
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)
|
eval $(ssh-agent -s)
|
||||||
echo "$SSH_PRIVATE_KEY" | ssh-add -
|
echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||||
apt-get update && apt-get install -y rsync
|
|
||||||
mkdir ~/.ssh
|
mkdir ~/.ssh
|
||||||
ssh-keyscan ifsr.de > ~/.ssh/known_hosts
|
year=$(yq '.year' content/_data/ese.yaml)
|
||||||
rsync -rvh --progress --delete --chmod=ugo=rwX _site/ ese-deploy@ifsr.de:2024-test
|
rsync -rvh --progress --delete --chmod=ugo=rwX _site/ ese-deploy@ifsr.de:"$year"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
year: 2024
|
year: 2025
|
||||||
startDay: 7
|
startDay: 7
|
||||||
endDay: 11
|
endDay: 11
|
||||||
color: "#F221B7"
|
color: "#F221B7"
|
||||||
|
|
Loading…
Add table
Reference in a new issue