revert 42e3c65881
Deploy static site / deploy (push) Successful in 25s

revert Try to fix signature mismatch
This commit is contained in:
2026-04-23 11:42:03 +02:00
parent 42e3c65881
commit 5a1aad6aae
+13 -14
View File
@@ -17,20 +17,19 @@ jobs:
- name: Setup SSH - name: Setup SSH
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519 echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts ssh-keyscan -p ${{ secrets.DEPLOY_PORT }} ${{ secrets.DEPLOY_HOST }} >> ~/.ssh/known_hosts
- name: Test SSH connection - name: Test SSH connection
run: | run: |
ssh -i ~/.ssh/id_ed25519 \ ssh -i ~/.ssh/id_ed25519 \
-p ${{ secrets.DEPLOY_PORT }} \ -p ${{ secrets.DEPLOY_PORT }} \
-o StrictHostKeyChecking=yes \ -o StrictHostKeyChecking=yes \
-o UpdateHostKeys=no \ ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} \ "echo SSH connection successful"
"echo SSH OK"
- name: Ensure remote directory exists - name: Ensure remote directory exists
run: | run: |
@@ -41,7 +40,7 @@ jobs:
- name: Deploy via rsync - name: Deploy via rsync
run: | run: |
rsync -avz --delete \ rsync -avz --delete \
-e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }} -o UpdateHostKeys=no" \ -e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }}" \
index.html styles.css de/ en/ \ index.html styles.css de/ en/ \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }} ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}