Update deploy action

This commit is contained in:
thiloho
2024-09-15 13:26:44 +02:00
parent f8d7603d2e
commit 756040e5ea

View File

@@ -12,9 +12,7 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
if: |
github.event.workflow_run.conclusion == 'success' &&
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/devel')
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.event == 'push' }}
steps:
- uses: actions/checkout@v4