Files
pydantic/.github/workflows/docs-preview.yml
T
Samuel Colvin a25aba26b5 linting as a separate CI step (#2030)
* linting as a separate ci step

* CI and docs improvements

* fix docs preview

* fix docs, benchmarks fastapi tests

* fix formatting and docs build

* tweak publishing docs

* fix for new download-artifact action

* skip check tag to check docs build

* prepare for merge
2020-10-25 15:03:33 +00:00

35 lines
645 B
YAML

name: Docs Preview
on: [pull_request]
jobs:
site-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: install
run: make install-docs
- name: build site
run: |
make docs
zip -r site.zip site
ls -lh
- name: upload
run: >
wget
https://site-deploy-opivr5adlq-ue.a.run.app/upload/?run_id=$GITHUB_RUN_ID
-O-
-q
--content-on-error
--post-file=site.zip
env:
GITHUB_RUN_ID: ${{ github.run_id }}