feat: update onboarding / offboarding section (#53) #29
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
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
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 |