Skip to content

Commit c782285

Browse files
ci: fix preview pipeline
fix publish preview to get github pages functional again Signed-off-by: Jasper Berton <jasper.berton@team.blue>
1 parent 5c7a9b2 commit c782285

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ jobs:
137137
- name: "Checkout repo"
138138
uses: actions/checkout@v4
139139
with:
140+
path: ovirt-site
140141
ref: gh-pages
141142
token: "${{ secrets.GITHUB_TOKEN }}"
142143
- name: "Remove preview build directory"
@@ -150,6 +151,7 @@ jobs:
150151
path: "${{needs.build.outputs.PREVIEW_PATH}}"
151152
- name: "Commit changes"
152153
run: |
154+
cd ovirt-site
153155
commit=$(git log --format="%H" -n 1)
154156
description=$(git describe --always)
155157
if git status --porcelain 2>/dev/null| grep -E "^??|^M"

0 commit comments

Comments
 (0)