Skip to content

Publish a new release #38

Publish a new release

Publish a new release #38

Workflow file for this run

name: Publish a new release
on:
release:
# Only use the types keyword to narrow down the activity types that will trigger your workflow.
types:
- published
jobs:
publish-docs:
uses: ./.github/workflows/release-docs.yml
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
with:
submodules: "true"
- name: Set up Python 3.9
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: "3.9"
- name: Install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: publish
run: python -m nox -s publish
env:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}