From 766e9906938128dbdf9cfaa4aa4f10e354c804c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 25 Nov 2023 11:33:22 +0100 Subject: [PATCH] actions test --- .forgejo/workflows/deploy.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 000579b..8e3aad0 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -3,17 +3,9 @@ name: Deploy to https://wordpress-test.event-federation.eu/ on: - workflow_dispatch: - inputs: - wordpress_instance: - description: The WordPress instance - required: true - default: 'wordpress-test.event-federation.eu' - type: choice - options: - - wordpress-test.event-federation.eu - - wordpress-test1.event-federation.eu - - wordpress-test2.event-federation.eu + push: + branches: + - main jobs: deploy: @@ -27,4 +19,4 @@ jobs: run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa - name: Deploy via Rsync - run: rsync -r --delete-after $GITHUB_WORKSPACE/ hosting187597@hosting187597.a2f96.netcup.net:~/${{ inputs.wordpress_instance }}/wp-content/plugins/activitypub-event-transformers + run: rsync -r --delete-after $GITHUB_WORKSPACE/ hosting187597@hosting187597.a2f96.netcup.net:~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers