actions test
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 0s
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 0s
This commit is contained in:
parent
258e5797cc
commit
9106e22a1a
1 changed files with 6 additions and 18 deletions
|
@ -15,21 +15,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: https://code.forgejo.org/actions/checkout@v4
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
run: |
|
||||||
- name: Install rsync
|
mkdir ~/.ssh
|
||||||
run: apt update && apt install -y rsync
|
apk update && apk add openssh-client rsync
|
||||||
|
eval $(ssh-agent -s)
|
||||||
- name: Test rsync
|
echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add -
|
||||||
run: rsync --help
|
rsync -avzr --delete . hosting187597@hosting187597.a2f96.netcup.net ~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers
|
||||||
|
|
||||||
- name: Deploy via rsync
|
|
||||||
uses: https://github.com/burnett01/rsync-deployments@6.0.0
|
|
||||||
with:
|
|
||||||
switches: -avzr --delete
|
|
||||||
path: ./
|
|
||||||
remote_path: ~/wordpress-test.event-federation.eu/wp-content/plugins/activitypub-event-transformers
|
|
||||||
remote_host: hosting187597.a2f96.netcup.net
|
|
||||||
remote_user: hosting187597
|
|
||||||
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue