You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/17 14:00:29 UTC

[incubator-opendal] branch actions-back updated: try again

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch actions-back
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/actions-back by this push:
     new e55858ee try again
e55858ee is described below

commit e55858ee9747ef92427452dc490455a678c74519
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri Mar 17 22:00:19 2023 +0800

    try again
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/docs.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 6c524763..af2c3dc8 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -106,3 +106,17 @@ jobs:
           github_token: ${{ secrets.GITHUB_TOKEN }}
           publish_dir: website/build
           publish_branch: gh-pages
+
+      - name: Deploy to vercel (preview)
+        if: github.repository_owner == 'apache' && github.ref_name != 'main'
+        uses: amondnet/vercel-action@v25.1.1
+        with:
+          vercel-token: ${{ secrets.VERCEL_TOKEN }}
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+          vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
+          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
+          alias-domains: |
+            opendal-git-{{BRANCH}}.vercel.app
+          # Move out of databend after we are ready.
+          scope: databend
+          working-directory: ./website/build