From 40b671bf56540da0151edc168a0eef6b4043e448 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Thu, 24 Sep 2020 20:19:26 +0200 Subject: [PATCH] Once again fix GitHub action --- .github/workflows/node.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 14f222d..9683176 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -28,7 +28,7 @@ jobs: - name: Copy built files to docs run: cp ./dist/shareon.min.* ./docs - if: github.event == 'push' && github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' }} - name: Deploy to GitHub Pages uses: crazy-max/ghaction-github-pages@v2.1.2 with: @@ -36,4 +36,4 @@ jobs: build_dir: docs fqdn: shareon.js.org jekyll: false - if: github.event == 'push' && github.ref == 'refs/heads/master' + if: ${{ github.ref == 'refs/heads/master' }}