Skip to content

Commit 4228925

Browse files
committed
ci: rename STATUS_CONTEXT -> PUBLISH_STATUS_CONTEXT
1 parent d9f688e commit 4228925

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/main.workflow

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ action "publish" {
3636
uses = "actions/npm@master"
3737
runs = "script/publish"
3838
env = {
39-
STATUS_CONTEXT = "npm publish primer"
39+
PUBLISH_STATUS_CONTEXT = "npm publish primer"
4040
}
4141
}

script/postpublish

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -e
33

4-
npx action-status --context="$STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/"
4+
npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=success --description="published $version" --url="https://unpkg.com/$name@$version/"
55

66
file=publish-files.txt
77
if [[ -f $file ]]; then

script/prepublish

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
npx action-status --context="$STATUS_CONTEXT" --state=pending --description="publishing $version..."
3+
npx action-status --context="$PUBLISH_STATUS_CONTEXT" --state=pending --description="publishing $version..."
44

55
# generate the build directory
66
npm run dist

0 commit comments

Comments
 (0)