tuhaihe commented on code in PR #189:
URL: https://github.com/apache/cloudberry-site/pull/189#discussion_r1867336594


##########
.github/workflows/publish-cloudberry-site.yml:
##########
@@ -52,11 +52,28 @@ jobs:
       - uses: actions/setup-node@v4
         with:
           node-version: 20
-      - run: npm install
-      - run: npm run build
-      - run: cp .asf.yaml build/.asf.yaml
-      - uses: peaceiris/actions-gh-pages@v3
-        if: github.event_name != 'pull_request'
+      
+      # Install dependencies and build site
+      - name: Install dependencies
+        run: npm install
+      - name: Build site
+        run: npm run build
+      - name: Copy ASF config
+        run: cp .asf.yaml build/.asf.yaml
+
+      # Deploy to asf-staged for PR preview

Review Comment:
   Will update `asf-staged` to `asf-staging` later.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to