Update uniswap.py - Resolve exception that is thrown when trying to trade two coins in the same wallet #323
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip poetry | |
poetry config installer.modern-installation false | |
poetry install | |
- name: Docs | |
run: | | |
poetry run make docs | |
- name: Upload build | |
uses: actions/upload-artifact@v2-preview | |
with: | |
name: build | |
path: docs/_build/html | |
- name: add CNAME file | |
run: | | |
echo 'uniswap-python.com' > docs/_build/html/CNAME | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/_build/html |