wordpress-event-bridge-for-.../.forgejo/workflows/deploy.yml

22 lines
466 B
YAML
Raw Normal View History

2023-11-25 11:31:04 +01:00
name: Deploy to https://wordpress-test.event-federation.eu/
on:
2023-11-25 11:33:22 +01:00
push:
branches:
- main
2023-11-25 11:31:04 +01:00
2023-11-25 11:21:20 +01:00
jobs:
deploy:
runs-on: ubuntu-latest
2023-11-25 13:41:38 +01:00
if: secrets.SSH_PRIVATE_KEY != ''
2023-11-25 11:21:20 +01:00
steps:
2023-11-25 13:41:38 +01:00
- name: Checkout Repository
uses: https://code.forgejo.org/actions/checkout@v4
2023-11-26 09:56:53 +01:00
- uses: https://github.com/ilkka/git-https-push-action@master
name: Deploy
2023-11-25 13:41:38 +01:00
with:
2023-11-26 09:56:53 +01:00
remoteUrl: ${{ secrets.PUSH_REMOTE }}
skipHooks: false