Files
pydantic/.github/workflows/docs-preview.yml
T
Samuel Colvin 8397cde602 new docs preview (#1206)
* new docs preview

* fix docs build for python 3.8

* fix print statements in index_main.py

* bump

* fix github actions builds

* bump

* uprev

* tweaks
2020-02-03 14:07:01 +00:00

35 lines
640 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
- 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 }}