Skip to content

Commit

Permalink
Make deploy workflow mandatory (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy authored Jun 25, 2024
1 parent 1f41a53 commit f4be45c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@ name: Deploy

on:
push:
branches:
- main
- renovate/**
tags:
- v*
pull_request:

jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/deployment@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
- uses: paddyroddy/.github/actions/python/deployment@3135c318562994eafc62974821c6f80aa64b35da # v0
with:
pyproject-toml: ./pyproject.toml
python-version: "3.12"
4 changes: 3 additions & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
push:
branches:
- main
- renovate/**
pull_request:

jobs:
documentation:
runs-on: ubuntu-latest
steps:
# yamllint disable-line rule:line-length
- uses: paddyroddy/.github/actions/python/pdoc@69431c4ec1e375c5fe5f8fa96ae1e05f371d8326 # v0
- uses: paddyroddy/.github/actions/python/pdoc@3135c318562994eafc62974821c6f80aa64b35da # v0
with:
docs-dependency-section: .[docs]
gh-pages-publish-directory: ./html/example
Expand Down

0 comments on commit f4be45c

Please sign in to comment.