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 13:32:31 UTC

[incubator-opendal] branch actions-back created (now 27197aa5)

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

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


      at 27197aa5 ci: Bring our actions back

This branch includes the following new commits:

     new 27197aa5 ci: Bring our actions back

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-opendal] 01/01: ci: Bring our actions back

Posted by xu...@apache.org.
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

commit 27197aa50f23297a04c3116e7c60a5f749740cd6
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Fri Mar 17 21:32:18 2023 +0800

    ci: Bring our actions back
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/bindings_python.yml |  3 ++-
 .github/workflows/docs.yml            | 26 +++++++++++++-------------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/bindings_python.yml b/.github/workflows/bindings_python.yml
index c75197fb..4ad8f744 100644
--- a/.github/workflows/bindings_python.yml
+++ b/.github/workflows/bindings_python.yml
@@ -46,7 +46,8 @@ jobs:
       - uses: actions/setup-python@v4
         with:
           python-version: '3.11'
-      - uses: Swatinem/rust-cache@v2
+      - name: Setup Rust toolchain
+        uses: ./.github/actions/setup
       - name: Build with maturin
         working-directory: "bindings/python"
         run: |
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index e8063c12..af2c3dc8 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -107,16 +107,16 @@ jobs:
           publish_dir: website/build
           publish_branch: gh-pages
 
-      # Disable until we are allowed
-      # - name: Deploy to vercel (preview)
-      #   if: github.repository_owner == 'datafuselabs' && 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
-      #     scope: databend
-      #     working-directory: ./website/build
+      - 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