Skip to content

Commit

Permalink
Add release.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
druzhinin-kirill committed May 1, 2024
1 parent fffb83e commit dd17d5b
Showing 1 changed file with 26 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

0 comments on commit dd17d5b

Please sign in to comment.