diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e202e80..dc7c61a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,14 @@ jobs: - name: Install Flit run: pip install flit - name: Install Dependencies - run: flit install --symlink + run: make install + - name: Install build dependencies + run: pip install build + - name: Build distribution + run: python -m build - name: Publish - env: - FLIT_USERNAME: ${{ secrets.FLIT_USERNAME }} - FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }} - run: flit publish \ No newline at end of file + uses: pypa/gh-action-pypi-publish@v1.11.0 + with: + password: ${{ secrets.PYPI_API_TOKEN }} + - name: Deploy Documentation + run: make doc-deploy