This is an automated email from the ASF dual-hosted git repository.
ricardozanini pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-docs.git
The following commit(s) were added to refs/heads/main by this push:
new caf86c862 Fix path and run-id event for surge.sh preview workflows
(#563)
caf86c862 is described below
commit caf86c862ff0c5b020f248d40d895d0d4a817b9d
Author: Ricardo Zanini <[email protected]>
AuthorDate: Thu Mar 7 10:56:47 2024 -0300
Fix path and run-id event for surge.sh preview workflows (#563)
Fix path and run-id event
Signed-off-by: Ricardo Zanini <[email protected]>
---
.github/workflows/pr-preview-publish.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pr-preview-publish.yml
b/.github/workflows/pr-preview-publish.yml
index 9ea601db4..cb4602fb1 100644
--- a/.github/workflows/pr-preview-publish.yml
+++ b/.github/workflows/pr-preview-publish.yml
@@ -36,7 +36,8 @@ jobs:
with:
name: site
github-token: ${{ secrets.GITHUB_TOKEN }}
- run-id: ${{ github.event.workflow_run.workflow_id }}
+ run-id: ${{ github.event.workflow_run.id }}
+ path: ./build/site
- name: Publish to Surge for preview
id: deploy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]