Skip to content

Bump cryptography from 42.0.8 to 43.0.1 #35

Bump cryptography from 42.0.8 to 43.0.1

Bump cryptography from 42.0.8 to 43.0.1 #35

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Build
run: |
python -m pip install --upgrade pip
pip install wheel
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python setup.py bdist_wheel
cd dist
- name: Publish releases to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
with:
password: ${{ secrets.pypitoken }}
- name: Build HTML Docs
run: |
pip install sphinx
pip install kentigern
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install .
cd docs
make multi
- name: SCP Deploy HTML Docs
uses: horochx/[email protected]
with:
local: docs/_build/html/
remote: /home/danwilliams/code.daniel-williams.co.uk/otter
host: ${{ secrets.sshhost }}
user: ${{ secrets.sshuser }}
key: ${{ secrets.sshkey }}