AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Publish pypi package (#179)
merwanehamadib8c5c261b883
diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.ymlnew file mode 100644index 0000000000..501611bdfc--- /dev/null+++ b/.github/workflows/publish_package.yml@@ -0,0 +1,28 @@+name: Publish to PyPI++on:+ workflow_dispatch:++jobs:+ deploy:+ runs-on: ubuntu-latest++ steps:+ - name: Checkout repository+ uses: actions/checkout@v2++ - name: Set up Python+ uses: actions/setup-python@v2+ with:+ python-version: 3.8++ - name: Install Poetry+ run: |+ curl -sSL https://install.python-poetry.org | python3 -+ echo "$HOME/.poetry/bin" >> $GITHUB_PATH++ - name: Install dependencies+ run: poetry install++ - name: Build and publish+ run: poetry publish --build -u __token__ -p ${{ secrets.PYPI_API_TOKEN }}