From 22644b974aaa244e12963ff886e27cc4c8fbae1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Tue, 14 Jul 2020 14:09:20 +0200 Subject: [PATCH] Update GitHub pages only on releases (#383) --- .github/workflows/webviz-subsurface.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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