1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-24 21:48:35 +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 include-hidden-files: true
if-no-files-found: error if-no-files-found: error
deploy-demo: deploy-demo:
if: github.event_name == 'push' if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
needs: [build-demo] needs: [build-demo]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: