update docs #1285
Workflow file for this run
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: Trigger milvus.io production build | |
on: | |
repository_dispatch: | |
types: prod-deploy | |
push: | |
paths-ignore: | |
- "preview/**.md" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- name: Yarn install | |
uses: borales/actions-yarn@v4 | |
with: | |
cmd: install | |
- name: Translate Docs | |
run: | | |
touch .env | |
echo DEEPL_API_KEY=${{secrets.DEEPL_API_KEY}} >> .env | |
# yarn translate | |
# git add . | |
# git commit -m "Translate docs" | |
# git push -f origin master | |
- name: Trigger milvus.io | |
run: | | |
curl -XPOST -H "Authorization: Bearer ${{secrets.GH_TOKEN}}" https://api.github.com/repos/milvus-io/milvus.io/dispatches -d '{"event_type": "prod-deploy"}' |