]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🐛 Fix unzip docs preview in CI (#2246)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 25 Oct 2020 18:12:00 +0000 (19:12 +0100)
committerGitHub <noreply@github.com>
Sun, 25 Oct 2020 18:12:00 +0000 (19:12 +0100)
.github/workflows/preview-docs.yml

index f5c20c966837c6a9cd47193d0bd131707b0cbb23..06992ccba7de501a0f86e710ccb4eab87a4338da 100644 (file)
@@ -36,6 +36,11 @@ jobs:
           workflow: build-docs.yml
           run_id: ${{ github.event.workflow_run.id }}
           name: docs-zip
+      - name: Unzip docs
+        run: |
+          rm -rf ./site
+          unzip docs.zip
+          rm -f docs.zip
       - name: Deploy to Netlify
         id: netlify
         uses: nwtgck/actions-netlify@v1.1.5