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