diff --git a/.github/workflows/webviz-subsurface.yml b/.github/workflows/webviz-subsurface.yml index 357b37ebe..d82adc106 100644 --- a/.github/workflows/webviz-subsurface.yml +++ b/.github/workflows/webviz-subsurface.yml @@ -125,7 +125,7 @@ jobs: twine upload dist/* - name: 📚 Update GitHub pages - if: github.event_name != 'schedule' && github.ref == 'refs/heads/master' && matrix.python-version == '3.6' && matrix.pandas-version == '1.*' + if: github.event_name == 'release' && matrix.python-version == '3.6' && matrix.pandas-version == '1.*' run: | cp -R ./docs_build ../docs_build