diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..f39dcfa --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -0,0 +1,13 @@ +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install SSH Key + 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:~/${{ github.event.inputs.web_root_directory }}/wp-content/plugins/activitypub-event-transformers diff --git a/.forgejo/workflows/deploy_test.yml b/.forgejo/workflows/deploy_test.yml new file mode 100644 index 0000000..66d7b53 --- /dev/null +++ b/.forgejo/workflows/deploy_test.yml @@ -0,0 +1,14 @@ +# .github/workflows/deploy_wordpress_test1.yml + +name: Deploy to https://wordpress-test.event-federation.eu/ + +on: + workflow_dispatch: + inputs: + web_root_directory: + description: wordpress-test.event-federation.eu + required: true + +jobs: + deploy: + <<: *deploy-job diff --git a/.forgejo/workflows/deploy_test1.yml b/.forgejo/workflows/deploy_test1.yml new file mode 100644 index 0000000..e69de29 diff --git a/.forgejo/workflows/deploy_test2.yml b/.forgejo/workflows/deploy_test2.yml new file mode 100644 index 0000000..e69de29