From e25043494a9c9eb1559f6fe138a05a85eac3d725 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Tue, 26 Nov 2024 23:07:06 +0100 Subject: [PATCH] Build on push --- .github/workflows/deploy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0b1eaeb..6a49123 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,7 @@ -name: Deploy VitePress to GitHub Pages +name: Build & Deploy VitePress to GitHub Pages on: push: - branches: - - master jobs: build: @@ -42,7 +40,8 @@ jobs: needs: build runs-on: ubuntu-latest + if: github.ref_name == 'master' steps: - name: Deploy to GitHub Pages uses: actions/deploy-pages@v4 - \ No newline at end of file +