wordpress-activitypub-event.../.forgejo/workflows/deploy.yml
André Menrath 23cc77d221
All checks were successful
Deploy to https://wordpress-test.event-federation.eu/ / deploy (push) Successful in 11s
actions test
2023-11-25 13:13:30 +01:00

20 lines
496 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:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: mkdir ~/.ssh
- run: apt update && apt install -y openssh-client rsync
- run: eval $(ssh-agent -s) && echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add -
- run: ls -l