Merge pull request #874 from michealparks/svelte-component-typed #31
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: Markprompt | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
train-markprompt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Zip markdown | |
uses: vimtor/action-zip@v1 | |
with: | |
files: apps/docs/src/content | |
dest: trainingData.zip | |
- name: Train markprompt | |
run: | | |
curl --location 'https://api.markprompt.com/v1/train' -X POST -H "Authorization: Bearer ${{secrets.MARKPROMPT_TOKEN}}" -H "Content-Type: application/zip" --data-binary @trainingData.zip |