You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "tisonkun (via GitHub)" <gi...@apache.org> on 2023/03/17 11:40:39 UTC

[GitHub] [incubator-opendal] tisonkun commented on a diff in pull request #1626: website: Fix website publish

tisonkun commented on code in PR #1626:
URL: https://github.com/apache/incubator-opendal/pull/1626#discussion_r1140125864


##########
.github/workflows/docs.yml:
##########
@@ -80,24 +81,27 @@ jobs:
           yarn build
 
       # Start deploy --------------------------------------------------
+      - name: Copy asf file
+        run:  cp .asf.yaml ./website/build/.asf.yaml
+
       - name: Deploy to gh-pages
         uses: peaceiris/actions-gh-pages@v3.9.2
         if: github.event_name == 'push' && github.ref_name == 'main'
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          cname: opendal.apache.org
           publish_dir: website/build
           publish_branch: gh-pages
 
-      - 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
+      # Disable until we are allowed

Review Comment:
   I don't think we will use Vercel for preview. I don't find any ASF projects setting up this before. Could you file an issue on INFRA and associate it here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org