-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: configure Git credentials for GitHub Actions and update document…
…ation deployment step
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,6 +83,11 @@ jobs: | |
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Configure Git Credentials | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email github-actions[bot]@users.noreply.github.com | ||
- name: Install Pixi | ||
uses: prefix-dev/[email protected] | ||
|
@@ -92,9 +97,13 @@ jobs: | |
cache: true | ||
locked: false # wont be the same because of the tag | ||
|
||
- name: Test docs build | ||
run: | | ||
pixi run -e ${{ matrix.env }} doc-build | ||
- name: Publish docs using mike | ||
run: | | ||
pixi run -e ${{ matrix.env }} mike deploy --push --update-aliases dev latest | ||
pixi run -e ${{ matrix.env }} mike deploy --push dev devel | ||
################################################################################################ | ||
|