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

This commit is contained in:
Lyn Fugmann 2024-10-06 22:35:14 +02:00
parent 34b99513cc
commit d44c09e925
2 changed files with 12 additions and 12 deletions

View file

@ -3,13 +3,13 @@ name: publish
on:
push:
branches:
- main
- test
jobs:
publish:
runs-on: ubuntu-latest
# env:
# SSH_PRIVATE_KEY: ${{ secrets.SOME_SECRET_THAT_REPRESENTS_THE_PRIVATE_KEY }}
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_DEPLOY_PRIVATE_KEY }}
steps:
- run: apt update && apt install dnsutils -y && dig git.ifsr.de
@ -29,11 +29,11 @@ jobs:
with:
path: _site
# - name: Deploy
# run: |
# eval $(ssh-agent -s)
# echo "$SSH_PRIVATE_KEY" | ssh-add -
# apt update && apt install -y rsync
# mkdir ~/.ssh
# ssh-keyscan your-host.com > ~/.ssh/known_hosts
# rsync -atv --progress ./public/ your-user@your-host.com:/home/your-user/your-content-directory/public
- name: Deploy
run: |
eval $(ssh-agent -s)
echo "$SSH_PRIVATE_KEY" | ssh-add -
apt-get update && apt-get install -y rsync
mkdir ~/.ssh
ssh-keyscan quitte.ifsr.de > ~/.ssh/known_hosts
rsync -rvh --progress --delete _site/ ese-deploy@quitte.ifsr.de:2024-test

View file

@ -1,7 +1,7 @@
---
layout: index.njk
---
## Herzlich Willkommen
## TEST
Informatik an der TU Dresden. Unbekannte Stadt, großer Campus, so viele neue Leute. Wir als Fachschaftsrat Informatik, abgekürzt FSR, begrüßen dich ganz herzlich an der Uni. Du bist jetzt Teil einer großen Gemeinschaft, der Fachschaft Informatik.