Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

build-doc-site.yml 776 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  1. name: Build Docs
  2. on:
  3. push:
  4. branches: [master]
  5. jobs:
  6. doc-site:
  7. name: Build and deploy docs
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout 🛎️
  11. uses: actions/checkout@v2
  12. - name: Install Python 🐍
  13. uses: actions/setup-python@v2
  14. with:
  15. python-version: 3.8
  16. - name: Install Python dependencies 📦
  17. run: |
  18. pip install -r doc-requirements.txt
  19. - name: Build site 🕸
  20. run: |
  21. sphinx-build docs target/docs
  22. - name: Deploy 🚀
  23. uses: netlify/actions/cli@master
  24. with:
  25. args: deploy --dir=target/docs
  26. env:
  27. NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
  28. NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...