Skip to content

Merge pull request #169 from awell-health/hosted_pages_links_with_ide… #91

Merge pull request #169 from awell-health/hosted_pages_links_with_ide…

Merge pull request #169 from awell-health/hosted_pages_links_with_ide… #91

Workflow file for this run

name: Push docs to MarkPrompt
on:
push:
branches:
- main
env:
MARKPROMPT_TOKEN: ${{ secrets.MARKPROMPT_TOKEN }}
jobs:
upload-docs:
name: Upload Docs to MarkPrompt to train
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Zip Docs
run: zip data.zip `find . -name "*.mdx"`
- name: Upload docs to MarkPrompt
run: |
curl https://api.markprompt.com/v1/train \
-X POST \
-H "Authorization: Bearer ${{ env.MARKPROMPT_TOKEN }}" \
-H "Content-Type: application/zip" \
--data-binary @data.zip