test pr action #18
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: Workflow that generate a PR to milvus doc | |
on: | |
push: | |
paths: | |
- 'bootcamp/tutorials/**' | |
jobs: | |
PR-to-Milvus-Doc: | |
runs-on: ubuntu-latest | |
env: | |
PAT_TOKEN: ${{ secrets.PAT_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Clone milvus-docs repository | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name Chengzi | |
git clone https://user:[email protected]/milvus-io/milvus-docs.git | |
cd milvus-docs | |
touch site/en/integrations/test_file.py | |
git add . | |
git commit -m "Update evaluation_with_ragas.md" | |
git push |