Skip to content

Update 1500 - draft-zip.md #1304

Update 1500 - draft-zip.md

Update 1500 - draft-zip.md #1304

name: Sync markdown guides to ReadMe
# Run workflow for every push to the `main` branch
on:
push:
branches:
- main
paths:
- 'readme-sync/v0/**.md'
jobs:
sync-guides:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
# using flowcommerce CLI rather than Readme's offical GH action for syncing b/c Readme's appears less powerful
- name: clone readme-sync
run: |
git clone https://github.com/flowcommerce/readme-sync --branch v0.0.24 readme-cli-tool
- name: install readme-sync
run: |
cd ./readme-cli-tool
npm install
- name: sync markdown guides (excludes changelog, API ref)
run: |
npx ts-node ./readme-cli-tool/sync/index.ts --apiKey ${{ secrets.README_API_KEY }} --version v0 --docs readme-sync/v0