From 31a703bbac9b9b2824d1c5cacced2d6280a98c75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 25 Nov 2023 15:21:14 +0100 Subject: [PATCH] actions test --- .forgejo/workflows/deploy.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 1c9b959..87bd65f 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -14,14 +14,12 @@ jobs: - name: Checkout Repository uses: https://code.forgejo.org/actions/checkout@v4 - - run: rsync --help - - - name: Deploy via rsync - uses: https://github.com/burnett01/rsync-deployments@6.0.0 + - name: Deploy + uses: appleboy/scp-action@v0.1.4 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 }} + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USERNAME }} + port: ${{ secrets.SSH_PORT }} + key: ${{ secrets.SSH_PRIVATE_KEY }} + source: "activitypub-event-transformers.php" + target: ~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers