This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
split gh action #2
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
name: mise-docs | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: mise-docs-release-${{ github.head_ref }} | |
cancel-in-progress: true | |
env: | |
MISE_EXPERIMENTAL: 1 | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # for lastUpdated | |
- uses: jdx/mise-action@v2 | |
- run: pnpm install | |
- run: pnpm run docs:build | |
- run: mise run release | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |