Skip to content

Commit

Permalink
Create release workflow and add publish docs steps (#17)
Browse files Browse the repository at this point in the history
Create a release workflow and add publish docs steps.

The workflow follows the mkdocs recommendation for the setup
([here](https://squidfunk.github.io/mkdocs-material/publishing-your-site/#with-github-actions)
and [here](https://www.mkdocs.org/user-guide/deploying-your-docs/)).
  • Loading branch information
druzhinin-kirill authored May 3, 2024
1 parent cac2dda commit 5c41e71
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on:
push:
tags:
- "*"

jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
pdm sync -G docs
- name: Deploy docs
run: |
pdm run mkdocs gh-deploy --force
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dbt-score.picnic.tech

0 comments on commit 5c41e71

Please sign in to comment.