From f3a43725ae9a87918d4750bc8c300bdcff7b3c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sun, 26 Nov 2023 09:56:53 +0100 Subject: [PATCH] actions: use git https push --- .forgejo/workflows/deploy.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index bdd6384..c83c82a 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -14,12 +14,8 @@ jobs: - name: Checkout Repository uses: https://code.forgejo.org/actions/checkout@v4 - - name: Deploy - uses: https://github.com/appleboy/scp-action@v0.1.4 + - uses: https://github.com/ilkka/git-https-push-action@master + name: Deploy with: - 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 + remoteUrl: ${{ secrets.PUSH_REMOTE }} + skipHooks: false