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 +