Merge pull request #48 from soumik12345/fix/torch-wandb-keras #51
This file contains 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: Deploy | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
documentation: | |
name: Update documentations on GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install .[docs] | |
- run: mkdocs gh-deploy --force | |
# pypi-publish: | |
# name: Upload release to PyPI | |
# runs-on: ubuntu-latest | |
# container: python | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - run: | | |
# python3 -m pip install -U pip | |
# python3 -m pip install -U .[deploy] | |
# python3 -m build | |
# twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} -r pypi dist/* |