From 89255512c188aff0783bc9e7dc702005d3963e78 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Wed, 3 Apr 2024 23:19:44 +0800 Subject: [PATCH] skip deployment in PR --- .github/workflows/deno.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 1932a4d..f82d3fd 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -43,12 +43,13 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v2 - + - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: path: 'docs/_site' - name: Deploy to GitHub Pages + if: ${{ github.event_name == 'push' }} id: deployment uses: actions/deploy-pages@v1