mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
Only deploy from main branch
This commit is contained in:
parent
2c5f1e33fe
commit
14383da04d
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -35,13 +35,16 @@ jobs:
|
||||||
run: make dockerci
|
run: make dockerci
|
||||||
working-directory: uvm32
|
working-directory: uvm32
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
uses: actions/configure-pages@v5
|
uses: actions/configure-pages@v5
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: uvm32/test/badge
|
path: uvm32/test/badge
|
||||||
name: github-pages
|
name: github-pages
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue