-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: release devtools client with a fixed length commit hash (#4689)
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
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 |
---|---|---|
|
@@ -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] | ||
|