Skip to content

Update requirements.txt #187

Update requirements.txt

Update requirements.txt #187

Workflow file for this run

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Build API docs
on:
push:
branches: [dev]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python setup.py develop
python setup.py build_cannonsim
pip install pdoc
- name: Checkout
uses: actions/[email protected]
- name: Build
run: |
export PDOC_ALLOW_EXEC=1
pdoc -d numpy -o ./pdocs easyvvuq
- name: Publish generated content to GitHub Pages
uses: JamesIves/[email protected]
with:
folder: pdocs
branch: gh-pages
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}