André Menrath
53a91a2f3d
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 6s
22 lines
642 B
YAML
22 lines
642 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
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: https://code.forgejo.org/actions/checkout@v3
|
|
|
|
- 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:~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers
|