Skip to content

Publish daily

Publish daily #692

Workflow file for this run

name: Publish daily
permissions: {}
on:
schedule:
- cron: "0 */1 * * *"
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v3
- name: Build Online Document
run: |
git config --local --get remote.origin.url
mkdir opea
cd opea
echo "git clone"
git clone https://github.com/opea-project/docs.git
cd docs
echo "build online doc"
bash scripts/build.sh f
- name: Push to github
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./opea/opea-project.github.io
publish_branch: main
exclude_assets: ''
user_name: 'NeuralChatBot'
user_email: 'grp_neural_chat_bot@intel.com'