From 9106e22a1a1c307a2dafc53e76583e7c2b0422c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 25 Nov 2023 12:37:39 +0100 Subject: [PATCH] actions test --- .forgejo/workflows/deploy.yml | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index aa3574d..30469bd 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -15,21 +15,9 @@ jobs: steps: - name: Checkout Repository uses: https://code.forgejo.org/actions/checkout@v4 - - - name: Install rsync - run: apt update && apt install -y rsync - - - name: Test rsync - run: rsync --help - - - name: Deploy via rsync - uses: https://github.com/burnett01/rsync-deployments@6.0.0 - with: - switches: -avzr --delete - path: ./ - remote_path: ~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers - remote_host: hosting187597.a2f96.netcup.net - remote_user: hosting187597 - remote_key: ${{ secrets.SSH_PRIVATE_KEY }} - - + run: | + mkdir ~/.ssh + apk update && apk add openssh-client rsync + eval $(ssh-agent -s) + echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add - + rsync -avzr --delete . hosting187597@hosting187597.a2f96.netcup.net ~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers