-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.28 KB
/
release-please.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Release-Please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
release-type: simple
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0
- name: Install Pixi
if: ${{ steps.release.outputs.release_created }}
uses: prefix-dev/[email protected]
with:
pixi-version: v0.34.0
cache: true
locked: false
- name: Configure Git user
if: ${{ steps.release.outputs.release_created }}
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Deploy Documentation Using Mike and Released Version
if: ${{ steps.release.outputs.release_created }}
run: |
VERSION=$(echo ${{ steps.release.outputs.tag_name }} | sed 's/v//')
echo "Deploying version $VERSION"
pixi run mike deploy --push --update-aliases $VERSION latest