Skip to content

Release v3.2.3

Release v3.2.3 #213

Workflow file for this run

name: release
on:
release:
types: [published]
workflow_dispatch:
jobs:
release-pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: 'pip'
- name: Build and Publish
env:
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m pip install --upgrade pip
pip install -U hatch
pip install -r requirements.txt;
hatch build
hatch publish
release-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup environment
run: |
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
- name: Login to DockerHub
uses: docker/login-action@v3.4.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push docker image
uses: docker/build-push-action@v6.15.0
with:
context: .
file: ./Dockerfile
tags: |
althack/mkdocs-simple-plugin:latest
althack/mkdocs-simple-plugin:${{ env.VERSION }}
push: true