Skip to content

Commit

Permalink
release: version docs
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Apr 9, 2024
1 parent fa4155c commit ed6f889
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,23 @@ jobs:
with:
ref: main
path: contrast-main
- uses: ./contrast-working/.github/actions/setup_nix
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Configure git
run: |
git config --global user.name "edgelessci"
git config --global user.email "[email protected]"
- name: Create docs release
working-directory: contrast-main/docs
run: |
nix run .#yarn install
nix run .#yarn docusaurus docs:version ${{ needs.process-inputs.outputs.WITHOUT_V }}
git add .
git commit -am "docs: release ${{ needs.process-inputs.outputs.WITHOUT_V }}"
# Clean up auxiliary files, so next steps run on a clean tree
git clean -fx :/
- name: Bump flake version to post release patch pre-version
id: bump
uses: ./contrast-working/.github/actions/bump_version # Run action from working branch!
Expand All @@ -127,6 +144,7 @@ jobs:
commit-message: ${{ steps.bump.outputs.commit-msg }}
base: main
draft: false
labels: "no changelog"
branch: automated/update-main-after-${{ needs.process-inputs.outputs.WORKING_BRANCH }}
committer: edgelessci <[email protected]>
author: edgelessci <[email protected]>
Expand Down

0 comments on commit ed6f889

Please sign in to comment.