Prepare release 0.1.2 #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.10" | |
- name: Publish package distributions to PyPI | |
run: | | |
pdm publish | |
- name: Install dependencies | |
run: | | |
pdm sync -G docs | |
- name: Deploy docs | |
run: | | |
pdm run dbt-score list -f markdown -n dbt_score.rules.generic --title Generic > docs/rules/generic.md | |
pdm run mkdocs gh-deploy --force |