wordpress-event-bridge-for-.../.forgejo/workflows/deploy.yml
André Menrath bc7997dfcf
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 2s
actions test
2023-11-25 12:07:13 +01:00

24 lines
672 B
YAML

# .github/workflows/deploy_wordpress_test1.yml
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
- uses: webfactory/ssh-agent@v0.8.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy via Rsync
run: rsync -r --delete-after $GITHUB_WORKSPACE/ hosting187597@hosting187597.a2f96.netcup.net:~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers