Skip to content

Commit

Permalink
build: release devtools client with a fixed length commit hash (#4689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asuka109 authored Sep 20, 2023
1 parent 3059a23 commit 85e4401
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-devtools-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
- name: Set outputs
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
run: echo "sha_short=$(git rev-parse --short=10 HEAD)" >> $GITHUB_OUTPUT

- name: Install Dependencies
run: pnpm install

- name: Build Website
run: pnpm --filter @modern-js/devtools-client run build
env:
ASSET_PREFIX: https://web-infra-dev.github.io/devtools/${{ steps.vars.outputs.sha_short }}
BASENAME: /${{ steps.vars.outputs.sha_short }}

- name: Deploy 🚀
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 85e4401

Please sign in to comment.