Skip to content

Update CD

Update CD #1

name: Publish
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- name: Set up Python 🧰
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: 3.x
- name: Install dependencies 🧰
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package 🔨
run: python -m build
- name: Publish package 🚀
uses: Commandcracker/pypi-publish@32e78ea691b666534c641470e9d74e4deca05bcc
with:
password: ${{ secrets.PYPI_API_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}