Skip to content

Kill those fuckers

Kill those fuckers #31

name: Publish
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Python 🧰
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55
with:
python-version: 3.x
- name: Install dependencies 🧰
env:
PIP_ROOT_USER_ACTION: ignore
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package 🔨
run: python -m build
- name: Publish package 🚀
uses: Commandcracker/pypi-publish@ddf48cf80be92772ea5c647390693f488b015e23
with:
password: ${{ secrets.PYPI_API_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}