try new runner image
Some checks failed
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Failing after 26m30s

This commit is contained in:
André Menrath 2023-11-25 13:41:38 +01:00
parent b5c7c9b2c5
commit 59516ee8bf

View file

@ -1,5 +1,3 @@
# .github/workflows/deploy_wordpress_test1.yml
name: Deploy to https://wordpress-test.event-federation.eu/ name: Deploy to https://wordpress-test.event-federation.eu/
on: on:
@ -10,14 +8,18 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: secrets.SSH_PRIVATE_KEY != '' && secrets.SSH_HOST_KEY != '' if: secrets.SSH_PRIVATE_KEY != ''
steps: steps:
- uses: https://code.forgejo.org/actions/checkout@v4 - name: Checkout Repository
- run: mkdir ~/.ssh uses: https://code.forgejo.org/actions/checkout@v4
- run: echo "${{ secrets.SSH_HOST_KEY }}" > ~/.ssh/known_hosts
- run: chmod 600 ~/.ssh/known_hosts - name: Deploy via rsync
- run: apt update && apt install -y openssh-client rsync uses: https://github.com/burnett01/rsync-deployments@6.0.0
- run: eval $(ssh-agent -s) && echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add - with:
- run: ls -l ~/.ssh switches: -avzr --delete
- run: rsync -avzr -e "ssh -i /path/to/your/private-key" --delete ${{ github.workspace }}/ hosting187597@hosting187597.a2f96.netcup.net:~/wordpress-test.event-federation.eu/wp-content/plugins/ 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 }}