Skip to content

Add rocketmq dashboard 2.0.0 package and modify 5.3.0 to 5.3.1 in qui… #287

Add rocketmq dashboard 2.0.0 package and modify 5.3.0 to 5.3.1 in qui…

Add rocketmq dashboard 2.0.0 package and modify 5.3.0 to 5.3.1 in qui… #287

Workflow file for this run

name: pre-release-new-site
on:
push:
branches: [ new-official-website ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: rocketmq-site
- run: |
cd $GITHUB_WORKSPACE/rocketmq-site/
npm install --legacy-peer-deps
npm run build
mv build content
rm .git/ -rf
- uses: actions/checkout@v2
with:
ref: asf-site
path: asf-site
- run: |
cd $GITHUB_WORKSPACE/asf-site/
git rm -rf .
cp -Rf $GITHUB_WORKSPACE/rocketmq-site/. .
ls
git config --global user.email "[email protected]"
git config --global user.name "github-action"
sed -i "/content/d" .gitignore
git add .
git status
git commit -m "[Pre-Release]Latest site on successful build auto-pushed to new-website-pre"
git push