1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-27 10:39:24 +01:00

fixed deploy-demo running on pull requests

This commit is contained in:
Ell 2024-10-26 23:38:02 +02:00
parent 92b94a0357
commit 1ca50f2869

View file

@ -23,7 +23,7 @@ jobs:
include-hidden-files: true
if-no-files-found: error
deploy-demo:
if: github.event_name == 'push'
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
needs: [build-demo]
runs-on: ubuntu-latest
steps: