This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-www.git
The following commit(s) were added to refs/heads/main by this push:
new 6fa9c183a .github: enable automated website builds
6fa9c183a is described below
commit 6fa9c183a11e0796eefb8806981c738b54242bc2
Author: Rohit Yadav <[email protected]>
AuthorDate: Wed Feb 7 13:42:27 2024 +0530
.github: enable automated website builds
Signed-off-by: Rohit Yadav <[email protected]>
---
.github/workflows/deploy.yml | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index b71adaf81..79d972bf0 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -21,7 +21,6 @@ on:
push:
branches:
- main
- - docusaurus-staging
pull_request:
jobs:
@@ -61,16 +60,16 @@ jobs:
# body: |
# Your latest pull request changes are published to staging website
# https://cloudstack.staged.apache.org
-#
-# - name: Publish production website
-# uses: peaceiris/actions-gh-pages@v3
-# if: github.event_name != 'pull_request'
-# with:
-# github_token: ${{ secrets.GITHUB_TOKEN }}
-# publish_branch: staging-site # TODO: change this to deploy branch
'asf-site'
-# publish_dir: ./build
-# destination_dir: ./
-# user_name: 'github-actions[bot]'
-# user_email: 'github-actions[bot]@users.noreply.github.com'
-# commit_message: 'Automated CloudStack website deployment with
cloudstack-www branch ${{ github.event.inputs.branch }}@${{ env.WWW_COMMIT }}'
-# #force_orphan: true
+
+ - name: Publish production website
+ uses: peaceiris/actions-gh-pages@v3
+ if: github.event_name != 'pull_request'
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_branch: asf-site
+ publish_dir: ./build
+ destination_dir: ./
+ user_name: 'github-actions[bot]'
+ user_email: 'github-actions[bot]@users.noreply.github.com'
+ commit_message: 'Automated CloudStack website deployment completed
on branch ${{ github.event.inputs.branch }}@${{ env.WWW_COMMIT }}'
+ #force_orphan: true