test forgejo actions

This commit is contained in:
André Menrath 2023-11-25 11:21:20 +01:00
parent 898aea6d44
commit 0b6cfeae71
4 changed files with 27 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

View file