André Menrath
0272f65158
All checks were successful
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Successful in 10s
25 lines
717 B
YAML
25 lines
717 B
YAML
name: Deploy to https://wordpress-test.event-federation.eu/
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
if: secrets.SSH_PRIVATE_KEY != ''
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: https://code.forgejo.org/actions/checkout@v4
|
|
|
|
- name: Deploy
|
|
uses: https://github.com/appleboy/scp-action@v0.1.4
|
|
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
|