diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml deleted file mode 100644 index 7e0dd04..0000000 --- a/.github/workflows/pypi-publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build and Deploy -on: - push: - branches: - - master -permissions: - contents: write - id-token: write -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Build Pypi Files - run: | - pip install --upgrade pip - pip install --upgrade setuptools - pip install wheel - pip install twine - git config --global user.name "${{secrets.GIT_USER}}" - git config --global user.email "${{secrets.GIT_GMAIL}}" - rm -rf build dist gunfolds.egg-info - git stash - git fetch --all - git checkout version - bash version_update.sh - python3 setup.py sdist bdist_wheel - - - name: Publish to Pypi - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_PASSWORD }}