Skip to content

Commit

Permalink
fix: fix ci trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Dairo Mosquera committed Dec 30, 2024
1 parent f86797e commit 0712aec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: ci

on:
release:
types: [published]
push:
tags:
- 'v*'

permissions:
contents: write
Expand All @@ -29,6 +30,6 @@ jobs:
- name: Install dependencies
run: pip install mkdocs-material mike
- name: Build site
run: mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
run: mike deploy --push --update-aliases ${{ github.ref_name }} latest
- name: Set latest as default version
run: mike set-default --push latest

0 comments on commit 0712aec

Please sign in to comment.