Skip to content

Commit 2d70a1d

Browse files
committed
Only build the current site
Building across all branches requires supporting different versions of Hugo depending on the branch. Release branches don't get a site published anyway, so this changes the build check to only build the current (PR) branch. Signed-off-by: Stephen Kitt <skitt@redhat.com>
1 parent 2542fc6 commit 2d70a1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Build the website static files
20-
run: make static-all
20+
run: make static
2121

2222
- name: Upload proposed static website for review
2323
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f

0 commit comments

Comments
 (0)