Publish daily #692
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |