From b42ab29b59ded720cf5c8f4bcf714efa931ceb18 Mon Sep 17 00:00:00 2001 From: jo Date: Sun, 10 Apr 2022 16:28:16 +0200 Subject: [PATCH] ci: only run website workflow for main branch --- .github/workflows/website.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d6951628a..4ed0e8f74 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -7,7 +7,6 @@ on: - .github/workflows/website.yml - website/** - docs/** - pull_request: jobs: deploy: @@ -34,7 +33,6 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./website/build + publish_dir: website/build