Skip to content

On Release

On Release #9

Workflow file for this run

---
name: On Release
on:
release:
types:
- released
jobs:
Check:
name: Check and Lint
uses: ./.github/workflows/mypy.yml
Test:
name: Test
needs:
- Check
if: needs.Check.result == 'success'
uses: ./.github/workflows/tests.yml
secrets:
GOOGLE_CLIENT_KEY: ${{ secrets.GOOGLE_CLIENT_KEY }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Release_Check:
name: Check Release
needs:
- Test
if: needs.Test.result == 'success'
uses: ./.github/workflows/release_check.yml
secrets:
BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
Release:
name: Release
needs:
- Release_Check
if: needs.Release_Check.result == 'success'
uses: ./.github/workflows/release_steps.yml
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Docs:
name: Deploy Docs
needs:
- Release
if: needs.Release.result == 'success'
uses: ./.github/workflows/gh-pages.yml