From 14383da04d7a27c3dbe6c883f6aacdbcd7de7d98 Mon Sep 17 00:00:00 2001 From: Toby Jaffey Date: Sun, 14 Dec 2025 09:41:11 +0000 Subject: [PATCH] Only deploy from main branch --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d93f34..67992d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,13 +35,16 @@ jobs: run: make dockerci working-directory: uvm32 - name: Setup Pages + if: github.ref == 'refs/heads/main' uses: actions/configure-pages@v5 - name: Upload Artifact + if: github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@v3 with: path: uvm32/test/badge name: github-pages - name: Deploy to GitHub Pages + if: github.ref == 'refs/heads/main' id: deployment uses: actions/deploy-pages@v4