Only deploy from main branch

This commit is contained in:
Toby Jaffey 2025-12-14 09:41:11 +00:00
parent 2c5f1e33fe
commit 14383da04d

View file

@ -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