Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

ci: fix ci

白熱9051a628ea22
diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml
index 52da694c01..ec18d1bc61 100644
--- a/.github/workflows/preview-deploy.yml
+++ b/.github/workflows/preview-deploy.yml
@@ -158,21 +158,22 @@ jobs:
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
data: >
- {
- "type": "build",
- "workflow": {
- "id": "${{ github.run_id }}"
- },
- "commit": {
- "message": "${{ github.event.workflow_run.head_commit.message }}",
- "id": "${{ github.event.workflow_run.head_commit.id }}",
- "author": "${{ github.event.workflow_run.head_commit.author.name }}"
- },
- "preview": {
- "📑 Examples": "${{ needs.build-demo.outputs.preview-url }}/",
- "📚 Storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
- }
- }
+ {
+ "type": "build",
+ "workflow": {
+ "id": "${{ github.run_id }}"
+ },
+ "commit": {
+ "ref": "${{ needs.setup.outputs.ref }}",
+ "message": "${{ github.event.workflow_run.head_commit.message }}",
+ "id": "${{ github.event.workflow_run.head_commit.id }}",
+ "author": "${{ github.event.workflow_run.head_commit.author.name }}"
+ },
+ "preview": {
+ "📑 Examples": "${{ needs.build-demo.outputs.preview-url }}/",
+ "📚 Storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
+ }
+ }
# ================= Create Comment =================
- name: 🧽 Find And Delete Comment
diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml
index 23a3b98dc7..5e3a34f0bb 100644
--- a/.github/workflows/release-nightly.yml
+++ b/.github/workflows/release-nightly.yml
@@ -125,14 +125,14 @@ jobs:
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
data: >
- {
- "type": "release",
- "version": "${{ needs.release-nightly.outputs.version }}",
- "workflow": {
- "id": "${{ github.run_id }}"
- },
- "preview": {
- "examples": "${{ needs.build-demo.outputs.preview-url }}/",
- "storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
- }
- }
+ {
+ "type": "release",
+ "version": "${{ github.ref_name }}",
+ "workflow": {
+ "id": "${{ github.run_id }}"
+ },
+ "preview": {
+ "📑 Examples": "${{ needs.build-demo.outputs.preview-url }}/",
+ "📚 Storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
+ }
+ }
diff --git a/.github/workflows/release-unstable.yml b/.github/workflows/release-unstable.yml
index bf8308e97e..b8a8c2fd06 100644
--- a/.github/workflows/release-unstable.yml
+++ b/.github/workflows/release-unstable.yml
@@ -129,14 +129,14 @@ jobs:
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
data: >
- {
- "type": "release",
- "version": "${{ github.ref_name }}",
- "workflow": {
- "id": "${{ github.run_id }}"
- },
- "preview": {
- "examples": "${{ needs.build-demo.outputs.preview-url }}/",
- "storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
- }
- }
\ No newline at end of file
+ {
+ "type": "release",
+ "version": "${{ github.ref_name }}",
+ "workflow": {
+ "id": "${{ github.run_id }}"
+ },
+ "preview": {
+ "📑 Examples": "${{ needs.build-demo.outputs.preview-url }}/",
+ "📚 Storybook": "${{ needs.build-storybook.outputs.preview-url }}/"
+ }
+ }